Uses of Class
org.drasyl.event.Peer
-
Packages that use Peer Package Description org.drasyl.event Contains events that inform the application about various states of the drasyl node, incoming communication, or connection type changes. -
-
Uses of Peer in org.drasyl.event
Fields in org.drasyl.event declared as Peer Modifier and Type Field Description protected Peer
AbstractPeerEvent. peer
protected Peer
AbstractPeerEvent. peer
Methods in org.drasyl.event that return Peer Modifier and Type Method Description Peer
PeerEvent. getPeer()
Returns the peer to which this event refers.static Peer
Peer. of(CompressedPublicKey publicKey)
Methods in org.drasyl.event with parameters of type Peer Modifier and Type Method Description static PeerDirectEvent
PeerDirectEvent. of(Peer peer)
static PeerRelayEvent
PeerRelayEvent. of(Peer peer)
Constructors in org.drasyl.event with parameters of type Peer Constructor Description PeerDirectEvent(Peer peer)
Deprecated, for removal: This API element is subject to removal in a future version.UsePeerDirectEvent.of(Peer)
instead.PeerRelayEvent(Peer peer)
Deprecated, for removal: This API element is subject to removal in a future version.UsePeerRelayEvent.of(Peer)
instead.
-