public interface Peer
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect()
Disconnects, effectively closes the connection.
|
<C extends ClientPeer> |
getProtocolAdapter()
Returns the protocol adapter that created this peer.
|
boolean |
isConnected()
Checks if the current peer is in 'connected' state.
|
boolean isConnected()
true if connected, false otherwise.void disconnect()
RemoteException - if there was a problem with closing the connection.<C extends ClientPeer> ProtocolAdapter<C> getProtocolAdapter()
Copyright © GigaSpaces.