class ExternalClient : IExternalClient
Represents another user.
ExternalClient(sessionId: String, peerAddress: PeerAddress, peer: PeerDHT)
Represents another user. |
val peer: PeerDHT
the peer to use for all operations |
|
val peerAddress: PeerAddress
the user's peer address |
|
val sessionId: String
the user's session ID |
fun equals(other: Any?): Boolean
equals |
|
fun hashCode(): Int
hashcode |
|
internal fun sendMessage(type: String, messageBody: String, senderSessionId: String): Future
Send a message to this user |
|
fun toString(): String |