public interface ProtocolAdapter<C extends ClientPeer>
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ProtocolAdapter.Side  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
countRemoteObjectConnections(long objectId)  | 
IClassProvider | 
getClassProvider()  | 
ClientPeerInvocationHandler | 
getClientInvocationHandler(String connectionURL,
                          ITransportConfig config,
                          PlatformLogicalVersion serviceVersion)
Returns the remote method invocation handler  
ClientPeerInvocationHandler which
 represents remote object specified by the supplied c and connection URL. | 
C | 
getClientPeer(PlatformLogicalVersion serviceVersion)
Returns an un-connected client peer. 
 | 
String | 
getHostName()  | 
LRMIMonitoringDetails | 
getMonitoringDetails()  | 
String | 
getName()
Returns the unique name of this protocol adapter. 
 | 
int | 
getPort()  | 
List<ITransportConnection> | 
getRemoteObjectConnectionsList(long objectId)  | 
void | 
init(ITransportConfig config,
    ProtocolAdapter.Side side)
Initializes the protocol adapter according to the supplied properties. 
 | 
ServerPeer | 
newServerPeer(long objectId,
             ClassLoader objectClassLoader,
             String serviceDetails)
Construct and returns a server peer for the specified object id. 
 | 
void | 
shutdown()
Shutdown this Protocol Adapter, freeing excess resources. 
 | 
void init(ITransportConfig config, ProtocolAdapter.Side side) throws RemoteException, ConfigurationException
RemoteException - if init. failed.ConfigurationExceptionString getName()
C getClientPeer(PlatformLogicalVersion serviceVersion)
ServerPeer newServerPeer(long objectId, ClassLoader objectClassLoader, String serviceDetails)
objectId - The exported remote objectId.objectClassLoader - the exported object class loaderList<ITransportConnection> getRemoteObjectConnectionsList(long objectId)
objectId - The exported remote objectId.int countRemoteObjectConnections(long objectId)
IClassProvider getClassProvider()
int getPort()
String getHostName()
void shutdown()
ClientPeerInvocationHandler getClientInvocationHandler(String connectionURL, ITransportConfig config, PlatformLogicalVersion serviceVersion)
ClientPeerInvocationHandler which
 represents remote object specified by the supplied c and connection URL. The returned ClientPeerInvocationHandler maintains a pool of connections(sockets) to the remote object.connectionURL - the connectionURL to the remoteObj provided by ServerPeer.config - the client configuration.LRMIMonitoringDetails getMonitoringDetails()
Copyright © GigaSpaces.