public interface Peer
| Modifier and Type | Method and Description |
|---|---|
void |
addPeerStateListener(PeerStateListener listener)
Append peer state change listener to the peer manager
|
void |
connect()
Establishes a connection towards a remote peer.
|
void |
disconnect(int disconnectCause)
Close the connection to the peer.
|
Set<ApplicationId> |
getCommonApplications() |
long |
getFirmware() |
InetAddress[] |
getIPAddresses() |
String |
getProductName() |
String |
getRealmName() |
<E> E |
getState(Class<E> enumc)
All implementations must support PeerState interface as argument
|
URI |
getUri() |
long |
getVendorId() |
void |
removePeerStateListener(PeerStateListener listener)
Remove peer state change listener from the peer manager
|
void connect()
throws InternalException,
IOException,
IllegalDiameterStateException
void disconnect(int disconnectCause)
throws InternalException,
IllegalDiameterStateException
<E> E getState(Class<E> enumc)
URI getUri()
InetAddress[] getIPAddresses()
String getRealmName()
long getVendorId()
String getProductName()
long getFirmware()
Set<ApplicationId> getCommonApplications()
void addPeerStateListener(PeerStateListener listener)
listener - listener instancevoid removePeerStateListener(PeerStateListener listener)
listener - listener instanceCopyright © 2016. All Rights Reserved.