|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.transport.multiplex.Protocol
public class Protocol
Protocol
is responsible for handling internal Multiplex messages.
Some of these, for example, the messages involved in creating a
new connection (acceptConnect()
, connect()
,
answerConnect()
) are synchronous.
Others, such as a request to shut down, are received asynchronously by
Protocol.BackChannelThread
.
Copyright (c) 2005
Field Summary | |
---|---|
protected static org.jboss.logging.Logger |
log
Deprecated. |
static int |
MP_CONNECT
Deprecated. |
static int |
MP_CONNECTED
Deprecated. |
static int |
MP_DISCONNECT
Deprecated. |
static int |
MP_ERROR
Deprecated. |
static int |
MP_FALSE
Deprecated. |
static int |
MP_OUTPUT_SHUTDOWN
Deprecated. |
static int |
MP_REGISTER_REMOTE_SERVER
Deprecated. |
static int |
MP_REQUEST_MANAGER_SHUTDOWN
Deprecated. |
static int |
MP_TRUE
Deprecated. |
static int |
MP_UNREGISTER_REMOTE_SERVER
Deprecated. |
static int |
MP_VERIFY_CONNECTION
Deprecated. |
Constructor Summary | |
---|---|
Protocol(MultiplexingManager manager)
Deprecated. |
Method Summary | |
---|---|
SocketId |
acceptConnect(MultiplexingInputStream is,
int timeout)
Deprecated. |
void |
answerConnect(MultiplexingOutputStream os,
int port)
Deprecated. |
SocketId |
connect(MultiplexingInputStream is,
SocketId socketId)
Deprecated. |
SocketId |
connect(MultiplexingInputStream is,
SocketId socketId,
int timeout)
Deprecated. |
void |
disconnect(SocketId socketId)
Deprecated. |
static org.jboss.remoting.transport.multiplex.Protocol.BackChannelThread |
getBackChannelThread(VirtualSelector virtualSelector)
Deprecated. |
void |
notifyOutputShutdown(SocketId socketId)
Deprecated. |
void |
registerRemoteServerSocket(int timeout)
Deprecated. |
boolean |
requestManagerShutdown(int timeout)
Deprecated. |
void |
unregisterRemoteServerSocket()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.jboss.logging.Logger log
public static final int MP_CONNECT
public static final int MP_CONNECTED
public static final int MP_VERIFY_CONNECTION
public static final int MP_OUTPUT_SHUTDOWN
public static final int MP_DISCONNECT
public static final int MP_REGISTER_REMOTE_SERVER
public static final int MP_UNREGISTER_REMOTE_SERVER
public static final int MP_REQUEST_MANAGER_SHUTDOWN
public static final int MP_ERROR
public static final int MP_TRUE
public static final int MP_FALSE
Constructor Detail |
---|
public Protocol(MultiplexingManager manager) throws java.io.IOException
manager
-
java.io.IOException
Method Detail |
---|
public static org.jboss.remoting.transport.multiplex.Protocol.BackChannelThread getBackChannelThread(VirtualSelector virtualSelector)
virtualSelector
-
public SocketId connect(MultiplexingInputStream is, SocketId socketId) throws java.io.IOException
is
- socketId
-
java.io.IOException
public SocketId connect(MultiplexingInputStream is, SocketId socketId, int timeout) throws java.io.IOException
is
- socketId
-
java.io.IOException
public SocketId acceptConnect(MultiplexingInputStream is, int timeout) throws java.io.IOException
is
- timeout
-
java.io.IOException
public void answerConnect(MultiplexingOutputStream os, int port) throws java.io.IOException
os
- port
-
java.io.IOException
public void notifyOutputShutdown(SocketId socketId)
socketId
- public void disconnect(SocketId socketId)
socketId
- public void registerRemoteServerSocket(int timeout) throws java.io.IOException
timeout
-
java.io.IOException
public void unregisterRemoteServerSocket()
public boolean requestManagerShutdown(int timeout) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |