|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Peer
Peer contains everything that is worth knowing about a peer and define some operation for working with this peer.
| Method Summary | ||
|---|---|---|
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. |
|
java.util.Set<ApplicationId> |
getCommonApplications()
|
|
long |
getFirmware()
|
|
java.net.InetAddress[] |
getIPAddresses()
|
|
java.lang.String |
getProductName()
|
|
java.lang.String |
getRealmName()
|
|
|
getState(java.lang.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 |
|
| Method Detail |
|---|
void connect()
throws InternalException,
java.io.IOException,
IllegalDiameterStateException
IllegalDiameterStateException
InternalException
java.io.IOException
void disconnect(int disconnectCause)
throws InternalException,
IllegalDiameterStateException
IllegalDiameterStateException
InternalException<E> E getState(java.lang.Class<E> enumc)
URI getUri()
java.net.InetAddress[] getIPAddresses()
java.lang.String getRealmName()
long getVendorId()
java.lang.String getProductName()
long getFirmware()
java.util.Set<ApplicationId> getCommonApplications()
void addPeerStateListener(PeerStateListener listener)
listener - listener instancevoid removePeerStateListener(PeerStateListener listener)
listener - listener instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||