Uses of Class
com.googlecode.mobilityrpc.network.ConnectionId

Packages that use ConnectionId
com.googlecode.mobilityrpc.controller.impl [private api] Implementation classes for MobilityController
com.googlecode.mobilityrpc.network [public api] Contains ConnectionManager, a public API for managing connections. 
com.googlecode.mobilityrpc.network.impl [private api] Implementation classes for ConnectionManager
com.googlecode.mobilityrpc.network.impl.tcp [private api] Implementation classes for TCP implementation of ConnectionManager
com.googlecode.mobilityrpc.protocol.processors [private api] Defines the DeserializedMessageProcessor API, implemented by classes which can process particular types of incoming messages. 
com.googlecode.mobilityrpc.protocol.processors.impl [private api] Implementations of DeserializedMessageProcessor for processing various types of incoming message. 
com.googlecode.mobilityrpc.quickstart [public api] Contains a simplified API to the library, wrapping the main APIs, tailored for specific use cases and for getting started with the library quickly. 
com.googlecode.mobilityrpc.session [public api] Contains MobilitySession, the gateway through which the application can send objects to remote machines. 
com.googlecode.mobilityrpc.session.impl [private api] Contains MobilitySession implementation classes. 
 

Uses of ConnectionId in com.googlecode.mobilityrpc.controller.impl
 

Methods in com.googlecode.mobilityrpc.controller.impl with parameters of type ConnectionId
 void MobilityControllerImpl.receiveIncomingMessage(ConnectionId connectionId, byte[] message)
           
 void MobilityControllerImpl.sendOutgoingMessage(ConnectionId identifier, Object message)
           
 

Uses of ConnectionId in com.googlecode.mobilityrpc.network
 

Methods in com.googlecode.mobilityrpc.network that return ConnectionId
 ConnectionId Connection.getConnectionId()
           
 

Methods in com.googlecode.mobilityrpc.network that return types with arguments of type ConnectionId
 Collection<ConnectionId> ConnectionManager.getConnectionIds()
          Returns the set of ConnectionIds for the currently open connections.
 Collection<ConnectionId> ConnectionManager.getConnectionListenerIdentifiers()
          Returns the set of ConnectionIds for the currently bound listeners.
 

Methods in com.googlecode.mobilityrpc.network with parameters of type ConnectionId
 void ConnectionManager.bindConnectionListener(ConnectionId localEndpointIdentifier)
          Opens a listener on the local machine to receive inbound connections from other machines to the specified address and port on the local machine.
 Connection ConnectionManager.getConnection(ConnectionId destinationIdentifier)
          Returns a connection to the destination specified.
 void ConnectionManager.unbindConnectionListener(ConnectionId localEndpointIdentifier)
          Closes a listener on the local machine which was previously opened via the ConnectionManager.bindConnectionListener(ConnectionId) method.
 

Uses of ConnectionId in com.googlecode.mobilityrpc.network.impl
 

Methods in com.googlecode.mobilityrpc.network.impl that return ConnectionId
 ConnectionId ConnectionListener.getConnectionId()
           
 

Methods in com.googlecode.mobilityrpc.network.impl that return types with arguments of type ConnectionId
 Collection<ConnectionId> ConnectionManagerImpl.getConnectionIds()
           
 Collection<ConnectionId> ConnectionManagerImpl.getConnectionListenerIdentifiers()
           
 

Methods in com.googlecode.mobilityrpc.network.impl with parameters of type ConnectionId
 void ConnectionManagerImpl.bindConnectionListener(ConnectionId localEndpointIdentifier)
           
 Connection ConnectionManagerImpl.getConnection(ConnectionId identifier)
           
 boolean ConnectionStateListener.isConnectionRegistered(ConnectionId connectionId)
           
 boolean ConnectionManagerImpl.isConnectionRegistered(ConnectionId connectionId)
           
 void IncomingMessageHandler.receiveIncomingMessage(ConnectionId connectionId, byte[] serializedMessage)
          Supplies the message to the handler for it to be processed.
 void OutgoingMessageHandler.sendOutgoingMessage(ConnectionId connectionId, Object message)
          Serializes the supplied message object and submits it to the outgoing message queue of the connection indicated, such that it will be sent to the machine at the other end of the connection for processing.
 void ConnectionManagerImpl.unbindConnectionListener(ConnectionId localEndpointIdentifier)
           
 

Uses of ConnectionId in com.googlecode.mobilityrpc.network.impl.tcp
 

Methods in com.googlecode.mobilityrpc.network.impl.tcp that return ConnectionId
 ConnectionId TCPConnectionListener.getConnectionId()
           
 ConnectionId TCPConnection.getConnectionId()
           
 

Constructors in com.googlecode.mobilityrpc.network.impl.tcp with parameters of type ConnectionId
IncomingByteStreamReader(ConnectionId connectionId, InputStream inputStream, IncomingMessageHandler incomingMessageHandler, ConnectionErrorHandler connectionErrorHandler)
           
OutgoingByteStreamWriter(ConnectionId connectionId, OutputStream outputStream, MessageProvider<byte[]> outgoingMessageProvider, ConnectionErrorHandler connectionErrorHandler)
           
TCPConnection(Socket socket, ConnectionId connectionId, IncomingMessageHandler incomingMessageHandler, ConnectionStateListener connectionStateListener)
           
TCPConnectionListener(ConnectionId localEndpointIdentifier, IncomingMessageHandler incomingMessageHandler, ConnectionStateListener connectionStateListener)
           
 

Uses of ConnectionId in com.googlecode.mobilityrpc.protocol.processors
 

Methods in com.googlecode.mobilityrpc.protocol.processors with parameters of type ConnectionId
 void DeserializedMessageProcessor.process(MobilityControllerInternal mobilityController, ConnectionManager connectionManager, ConnectionId connectionId, T deserializedMessage)
           
 

Uses of ConnectionId in com.googlecode.mobilityrpc.protocol.processors.impl
 

Methods in com.googlecode.mobilityrpc.protocol.processors.impl with parameters of type ConnectionId
 void ExecutionRequestMessageProcessor.process(MobilityControllerInternal mobilityController, ConnectionManager connectionManager, ConnectionId connectionId, ExecutionRequest executionRequest)
           
 void ExecutionResponseMessageProcessor.process(MobilityControllerInternal mobilityController, ConnectionManager connectionManager, ConnectionId connectionId, ExecutionResponse executionResponse)
           
 void PingMessageProcessor.process(MobilityControllerInternal mobilityController, ConnectionManager connectionManager, ConnectionId connectionId, Ping ping)
           
 void PongMessageProcessor.process(MobilityControllerInternal mobilityController, ConnectionManager connectionManager, ConnectionId connectionId, Pong pong)
           
 void ResourceRequestMessageProcessor.process(MobilityControllerInternal mobilityController, ConnectionManager connectionManager, ConnectionId connectionId, ResourceRequest resourceRequest)
           
 void ResourceResponseMessageProcessor.process(MobilityControllerInternal mobilityController, ConnectionManager connectionManager, ConnectionId connectionId, ResourceResponse resourceResponse)
           
 

Uses of ConnectionId in com.googlecode.mobilityrpc.quickstart
 

Methods in com.googlecode.mobilityrpc.quickstart with parameters of type ConnectionId
static
<T> T
QuickTask.execute(ConnectionId connectionId, Callable<T> callable)
          Transfers the given Callable object, and any objects it references, to the given remote machine, and executes it (calls the Callable.call() method) on the remote machine.
static
<T> T
QuickTask.execute(ConnectionId connectionId, long executionResponseTimeoutMs, Callable<T> callable)
          Transfers the given Callable object, and any objects it references, to the given remote machine, and executes it (calls the Callable.call() method) on the remote machine.
static void QuickTask.execute(ConnectionId connectionId, long executionResponseTimeoutMs, Runnable runnable)
          Transfers the given Runnable object, and any objects it references, to the given remote machine, and executes it (calls the Runnable.run() method) on the remote machine.
static void QuickTask.execute(ConnectionId connectionId, Runnable runnable)
          Transfers the given Runnable object, and any objects it references, to the given remote machine, and executes it (calls the Runnable.run() method) on the remote machine.
 

Uses of ConnectionId in com.googlecode.mobilityrpc.session
 

Methods in com.googlecode.mobilityrpc.session that return ConnectionId
static ConnectionId MobilityContext.getCurrentConnectionId()
          Returns the ConnectionId from which the current request was received.
 

Methods in com.googlecode.mobilityrpc.session with parameters of type ConnectionId
<T> T
MobilitySession.execute(ConnectionId connectionId, Callable<T> callable)
          Transfers the given Callable object, and any objects it references, to the given remote machine, and executes it (calls the Callable.call() method) on the remote machine.
<T> T
MobilitySession.execute(ConnectionId connectionId, ExecutionMode executionMode, Callable<T> callable)
          Transfers the given Callable object, and any objects it references, to the given remote machine, and executes it (calls the Callable.call() method) on the remote machine.
<T> T
MobilitySession.execute(ConnectionId connectionId, ExecutionMode executionMode, long executionResponseTimeoutMs, Callable<T> callable)
          Transfers the given Callable object, and any objects it references, to the given remote machine, and executes it (calls the Callable.call() method) on the remote machine.
 void MobilitySession.execute(ConnectionId connectionId, ExecutionMode executionMode, long executionResponseTimeoutMs, Runnable runnable)
          Transfers the given Runnable object, and any objects it references, to the given remote machine, and executes it (calls the Runnable.run() method) on the remote machine.
 void MobilitySession.execute(ConnectionId connectionId, ExecutionMode executionMode, Runnable runnable)
          Transfers the given Runnable object, and any objects it references, to the given remote machine, and executes it (calls the Runnable.run() method) on the remote machine.
 void MobilitySession.execute(ConnectionId connectionId, Runnable runnable)
          Transfers the given Runnable object, and any objects it references, to the given remote machine, and executes it (calls the Runnable.run() method) on the remote machine.
 

Uses of ConnectionId in com.googlecode.mobilityrpc.session.impl
 

Methods in com.googlecode.mobilityrpc.session.impl that return ConnectionId
protected static ConnectionId MobilityContextInternal.getCurrentConnectionId()
           
 

Methods in com.googlecode.mobilityrpc.session.impl with parameters of type ConnectionId
<T> T
MobilitySessionImpl.execute(ConnectionId connectionId, Callable<T> callable)
           
<T> T
MobilitySessionImpl.execute(ConnectionId connectionId, ExecutionMode executionMode, Callable<T> callable)
           
<T> T
MobilitySessionImpl.execute(ConnectionId connectionId, ExecutionMode executionMode, long executionResponseTimeoutMs, Callable<T> callable)
           
 void MobilitySessionImpl.execute(ConnectionId connectionId, ExecutionMode executionMode, long executionResponseTimeoutMs, Runnable runnable)
           
 void MobilitySessionImpl.execute(ConnectionId connectionId, ExecutionMode executionMode, Runnable runnable)
           
 void MobilitySessionImpl.execute(ConnectionId connectionId, Runnable runnable)
           
 void MobilitySessionInternal.receiveIncomingExecutionRequest(ConnectionId connectionId, ExecutionRequest executionRequest)
          Called when we receive an incoming ExecutionRequest object from a remote machine addressed to this session.
 void MobilitySessionImpl.receiveIncomingExecutionRequest(ConnectionId connectionId, ExecutionRequest executionRequest)
           
 void SessionClassLoader.setThreadLocalConnectionId(ConnectionId connectionId)
          Called by threads processing an execution request from a remote machine, to indicate to this class loader that should those threads require classes to be loaded that the class loader can request those classes from the remote machine indicated.
 



Copyright © 2016. All rights reserved.