public abstract class BaseClientPeer extends ConnectionResource
| Constructor and Description |
|---|
BaseClientPeer(ProtocolAdapter protocolAdapter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
String |
getConnectionURL()
Returns the connection URL associated with this peer.
|
int |
getConnectRetries()
Returns the number of connection retries associated with this peer.
|
long |
getObjectId() |
ProtocolAdapter |
getProtocolAdapter()
Returns the protocol adapter that created this peer.
|
boolean |
isConnected()
Checks if the current peer is in 'connected' state.
|
void |
setConnected(boolean connected) |
void |
setConnectionURL(String connectionURL) |
void |
setConnectRetries(int connectRetries)
Sets the number of connection retries associated with this peer.
|
void |
setObjectId(long objectId) |
clear, close, disable, getGeneratedTraffic, getMonitoringModule, getReceivedTraffic, isClosedacquire, isAcquired, isFromPool, release, setAcquired, setFromPoolclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, init, invoke, sendKeepAlivedisconnectpublic BaseClientPeer(ProtocolAdapter protocolAdapter)
protocolAdapter - Client's peer adaptor.public boolean isConnected()
Peertrue if connected, false otherwise.public void setConnected(boolean connected)
public ProtocolAdapter getProtocolAdapter()
Peerpublic String getConnectionURL()
ClientPeerpublic void setConnectionURL(String connectionURL) throws MalformedURLException, RemoteException
MalformedURLExceptionRemoteExceptionpublic int getConnectRetries()
ClientPeerpublic void setConnectRetries(int connectRetries)
ClientPeerpublic long getObjectId()
public void setObjectId(long objectId)
Copyright © GigaSpaces.