AtLookupImpl class

Implemented types
Implementers

Constructors

AtLookupImpl(String atSign, String rootDomain, int rootPort, {String? privateKey, String? cramSecret})

Properties

connection OutboundConnection?
no setter
cramSecret ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logger → AtSignLogger
final
messageListener ↔ OutboundMessageListener
Listener for reading verb responses from the remote server
getter/setter pair
outboundConnectionTimeout ↔ dynamic
getter/setter pair
privateKey ↔ dynamic
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
authenticate_cram(dynamic secret) Future<bool>
Generates digest using from verb response and secret and performs a CRAM authentication to secondary server
close() Future<void>
createConnection() Future<void>
createOutBoundConnection(dynamic host, dynamic port, dynamic toAtSign) Future<bool>
delete(String key, {String? sharedWith, bool isPublic = false}) Future<bool>
delete
override
executeCommand(String atCommand, {bool auth = false}) Future<String?>
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.
override
isConnectionAvailable() bool
isInValid() bool
llookup(String key, {String? sharedBy, String? sharedWith, bool isPublic = false}) Future<String>
override
lookup(String key, String sharedBy, {bool auth = true, bool verifyData = false, bool metadata = false}) Future<String>
lookup
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
plookup(String key, String sharedBy) Future<String>
plookup
override
scan({String? regex, String? sharedBy, bool auth = true}) Future<List<String>>
scan
override
toString() String
A string representation of this object.
inherited
update(String key, String value, {String? sharedWith, Metadata? metadata}) Future<bool>
update
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

findSecondary(String atsign, String? rootDomain, int rootPort) Future<String?>