|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.AbstractInvoker
org.jboss.remoting.MicroRemoteClientInvoker
org.jboss.remoting.RemoteClientInvoker
org.jboss.remoting.transport.socket.MicroSocketClientInvoker
org.jboss.remoting.transport.socket.SocketClientInvoker
org.jboss.remoting.transport.multiplex.MultiplexClientInvoker
public class MultiplexClientInvoker
MultiplexClientInvoker
is the client side of the Multiplex transport.
For more information, see Remoting documentation on labs.jboss.org.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.remoting.AbstractInvoker |
---|
AbstractInvoker.CallbackLocatorHolder |
Field Summary | |
---|---|
protected java.lang.String |
clientSocketClassName
Deprecated. |
Fields inherited from class org.jboss.remoting.transport.socket.SocketClientInvoker |
---|
SO_TIMEOUT_DEFAULT, SO_TIMEOUT_FLAG, timeout |
Fields inherited from class org.jboss.remoting.MicroRemoteClientInvoker |
---|
connected, connectHomes, parentFirstClassLoading |
Fields inherited from class org.jboss.remoting.AbstractInvoker |
---|
classbyteloader, configuration, localServerLocators, locator, serializationType, socketFactory, socketFactoryCreatedFromSSLParameters, version |
Constructor Summary | |
---|---|
MultiplexClientInvoker(InvokerLocator locator)
Deprecated. Create a new MultiplexClientInvoker . |
|
MultiplexClientInvoker(InvokerLocator locator,
java.util.Map configuration)
Deprecated. Create a new MultiplexClientInvoker . |
Method Summary | |
---|---|
protected void |
configureSocketGroupParameters(java.util.Map parameters)
Deprecated. |
protected java.net.Socket |
createSocket(java.lang.String address,
int port,
int timeout)
Deprecated. |
void |
finishStart()
Deprecated. Finishes the start up process, once adequate bind and connect information is made available. |
protected java.net.InetSocketAddress |
getBindSocketAddress()
Deprecated. |
InvokerLocator |
getCallbackLocator(java.util.Map metadata)
Deprecated. Gets the locator to be used for callbacks when want do not want to establish a new physical connectiong from the server to the client. |
protected java.net.InetSocketAddress |
getConnectSocketAddress()
Deprecated. |
protected java.lang.String |
getDefaultDataType()
Deprecated. Each implementation of the remote client invoker should have a default data type that is uses in the case it is not specified in the invoker locator uri. |
protected void |
handleConnect()
Deprecated. Subclasses must implement this method to provide a hook to connect to the remote server, if this applies to the specific transport. |
protected void |
handleDisconnect()
Deprecated. subclasses must implement this method to provide a hook to disconnect from the remote server, if this applies to the specific transport. |
protected java.lang.Object |
transport(java.lang.String sessionId,
java.lang.Object invocation,
java.util.Map metadata,
Marshaller marshaller,
UnMarshaller unmarshaller)
Deprecated. |
Methods inherited from class org.jboss.remoting.transport.socket.SocketClientInvoker |
---|
configureParameters, createClientSocket, createServerAddress, getPooledConnection, getTimeout, handleException, toString |
Methods inherited from class org.jboss.remoting.MicroRemoteClientInvoker |
---|
connect, establishLease, getConnectHomes, getLeasePeriod, getMarshaller, getSessionId, getUnMarshaller, init, invoke, isConnected, postProcess, preProcess, setMarshaller, setUnMarshaller, terminateLease |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.remoting.transport.ClientInvoker |
---|
addClientLocator, connect, disconnect, establishLease, getClientLocator, getClientLocators, getLeasePeriod, getMarshaller, getSocketFactory, getUnMarshaller, invoke, isConnected, setMarshaller, setSocketFactory, setUnMarshaller, terminateLease |
Methods inherited from interface org.jboss.remoting.Invoker |
---|
getLocator |
Field Detail |
---|
protected java.lang.String clientSocketClassName
Constructor Detail |
---|
public MultiplexClientInvoker(InvokerLocator locator) throws java.io.IOException
MultiplexClientInvoker
.
locator
-
java.io.IOException
public MultiplexClientInvoker(InvokerLocator locator, java.util.Map configuration) throws java.io.IOException
MultiplexClientInvoker
.
locator
-
java.io.IOException
Method Detail |
---|
protected void handleConnect() throws ConnectionFailedException
MicroRemoteClientInvoker
handleConnect
in class MicroSocketClientInvoker
ConnectionFailedException
public void finishStart() throws java.io.IOException
java.io.IOException
public InvokerLocator getCallbackLocator(java.util.Map metadata)
BidirectionalClientInvoker
getCallbackLocator
in interface BidirectionalClientInvoker
protected void configureSocketGroupParameters(java.util.Map parameters) throws java.io.IOException
parameters
-
java.io.IOException
protected java.lang.Object transport(java.lang.String sessionId, java.lang.Object invocation, java.util.Map metadata, Marshaller marshaller, UnMarshaller unmarshaller) throws java.io.IOException, ConnectionFailedException, java.lang.ClassNotFoundException
transport
in class MicroSocketClientInvoker
sessionId
- invocation
- marshaller
-
java.io.IOException
ConnectionFailedException
java.lang.ClassNotFoundException
protected void handleDisconnect()
handleDisconnect
in class MicroSocketClientInvoker
protected java.net.InetSocketAddress getBindSocketAddress()
protected java.net.InetSocketAddress getConnectSocketAddress()
protected java.lang.String getDefaultDataType()
getDefaultDataType
in class MicroSocketClientInvoker
protected java.net.Socket createSocket(java.lang.String address, int port, int timeout) throws java.io.IOException
createSocket
in class SocketClientInvoker
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |