RemotePeer class

Constructors

RemotePeer(Peer peer, String remoteAddress, String authData, AsymmetricKeyPair<RSAPublicKey, RSAPrivateKey> keyPair)

Properties

aesKey Uint8List
getter/setter pair
authData String
getter/setter pair
authProcessing bool
getter/setter pair
findingConnection bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyPair ↔ AsymmetricKeyPair<RSAPublicKey, RSAPrivateKey>
getter/setter pair
lanConnectionPoint1 UdpAddress?
getter/setter pair
nextTransactionId int
getter/setter pair
nonces Nonces
getter/setter pair
outgoingTransactions Map<int, Transaction>
getter/setter pair
peer Peer
getter/setter pair
remoteAddress String
getter/setter pair
remotePublicKey ↔ RSAPublicKey?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId int
getter/setter pair
sessionNonceCounter int
getter/setter pair

Methods

auth(UdpAddress? remoteConnectionPoint) Future<String>
call(String function, Uint8List data) Future<CallResult>
checkInternetConnectionPoint() Future<void>
checkLANConnectionPoint() Future<void>
executeTransaction(UdpAddress? remoteConnectionPoint, int sessionId, Uint8List data) Future<CallResult>
lanConnectionPointString() String
localAddress() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processFrame(Transaction transaction) → void
processFrame11(Transaction transaction) → void
regularCall(UdpAddress? remoteConnectionPoint, String function, Uint8List data, Uint8List aesKey) Future<CallResult>
resetConnectionPoint() → void
send0x20(UdpAddress udpAddress) → void
setRemotePublicKey(UdpAddress? udpAddress, RSAPublicKey publicKey, Uint8List nonce, Uint8List signature) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

connectionPointString(UdpAddress? udpAddress) String