Peer class
Properties
- currentUdpPortTrying ↔ bool
-
getter/setter pair
- currentUdpPortValid ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
httpClients
↔ Map<
String, Client> -
getter/setter pair
-
incomingTransactions
↔ Map<
String, Transaction> -
getter/setter pair
-
keyPair
↔ AsymmetricKeyPair<
RSAPublicKey, RSAPrivateKey> -
getter/setter pair
- lastNetworkUpdateTime ↔ DateTime
-
getter/setter pair
- lastReceivedMessageId ↔ int
-
getter/setter pair
- network ↔ XchgNetwork?
-
getter/setter pair
- processor ↔ XchgServerProcessor?
-
getter/setter pair
-
remotePeers
↔ Map<
String, RemotePeer> -
getter/setter pair
- requestingFromInternet ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sessionsById
↔ Map<
int, Session> -
getter/setter pair
- started ↔ bool
-
getter/setter pair
- stopping ↔ bool
-
getter/setter pair
- updatingNetwork ↔ bool
-
getter/setter pair
- useLocalRouter ↔ bool
-
getter/setter pair
Methods
-
call(
String remoteAddress, String authData, String function, Uint8List data) → Future< CallResult> -
checkNetwork(
) → void -
httpCall(
String routerHost, String function, Uint8List frame, int timeoutMs) → Future< Uint8List> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processFrame(
UdpAddress? sourceAddress, String router, Uint8List frame) → Future< void> -
processFrame10(
UdpAddress? sourceAddress, Uint8List frame) → void -
processFrame11(
UdpAddress? sourceAddress, String router, Uint8List frame) → void -
processFrame20(
UdpAddress? sourceAddress, Uint8List frame) → void -
processFrame21(
UdpAddress? sourceAddress, Uint8List frame) → void -
requestFramesFromInternet(
String host) → Future< void> -
requestIncomingFramesFromInternet(
) → void -
start(
) → void -
stop(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateNetwork(
) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- udpEndPort ↔ int
-
getter/setter pair
- udpStartPort ↔ int
-
getter/setter pair