AtLookupSync class
- Inheritance
-
- Object
- AtLookupImpl
- AtLookupSync
Constructors
Properties
- connection → OutboundConnection?
-
no setterinherited
- cramSecret ↔ dynamic
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- logger → AtSignLogger
-
finalinherited
- messageListener ↔ OutboundMessageListener
-
Listener for reading verb responses from the remote server
getter/setter pairinherited
- outboundConnectionTimeout ↔ dynamic
-
getter/setter pairinherited
- privateKey ↔ dynamic
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- syncCallback ↔ Function?
-
getter/setter pair
Methods
-
authenticate(
String? privateKey) → Future< bool> -
Generates digest using from verb response and
privateKey
and performs a PKAM authentication to secondary server. This method is executed for all verbs that requires authentication.inherited -
authenticate_cram(
dynamic secret) → Future< bool> -
Generates digest using from verb response and
secret
and performs a CRAM authentication to secondary serverinherited -
close(
) → Future< void> -
inherited
-
createConnection(
) → Future< void> -
override
-
createOutBoundConnection(
dynamic host, dynamic port, dynamic toAtSign) → Future< bool> -
inherited
-
delete(
String key, {bool isPublic = false}) → Future< bool> -
delete
inherited
-
executeCommand(
String atCommand, {bool auth = false}) → Future< String?> -
override
-
executeVerb(
VerbBuilder builder, {bool sync = false}) → Future< String> -
Executes the command returned by
VerbBuilder
build command on a remote secondary server. Optionally privateKey is passed for verb builders which require authentication.inherited -
isConnectionAvailable(
) → bool -
inherited
-
isInValid(
) → bool -
inherited
-
llookup(
String key, {bool isPublic = false}) → Future< String> -
inherited
-
lookup(
String key, bool auth = true, bool verifyData = false, bool metadata = false}) → Future< String> -
lookup
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
plookup(
String key, ) → Future< String> -
plookup
inherited
-
scan(
{String? regex, bool auth = true}) → Future< List< String> > -
scan
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String key, String value, {Metadata? metadata}) → Future< bool> -
update
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited