org.jboss.remoting.transport.multiplex
Class Protocol

java.lang.Object
  extended byorg.jboss.remoting.transport.multiplex.Protocol

public class Protocol
extends java.lang.Object

Copyright (c) 2005

Author:
Ron Sigal

Field Summary
protected static org.jboss.logging.Logger log
           
static int MP_CONNECT
           
static int MP_CONNECTED
           
static int MP_DISCONNECT
           
static int MP_ERROR
           
static int MP_FALSE
           
static int MP_OUTPUT_SHUTDOWN
           
static int MP_REGISTER_REMOTE_SERVER
           
static int MP_REQUEST_MANAGER_SHUTDOWN
           
static int MP_TRUE
           
static int MP_UNREGISTER_REMOTE_SERVER
           
static int MP_VERIFY_CONNECTION
           
 
Constructor Summary
Protocol(MultiplexingManager manager)
           
 
Method Summary
 SocketId acceptConnect(MultiplexingDataInputStream is, int timeout)
          FIXME Comment this
 void answerConnect(java.io.DataOutputStream os, int port)
          FIXME Comment this
 SocketId connect(MultiplexingDataInputStream is, SocketId socketId)
          FIXME Comment this
 SocketId connect(MultiplexingDataInputStream is, SocketId socketId, int timeout)
          FIXME Comment this
 void disconnect(SocketId socketId)
          FIXME Comment this
 org.jboss.remoting.transport.multiplex.Protocol.BackChannelThread getBackChannelThread()
          FIXME Comment this
 void getConnectVerification(MultiplexingDataInputStream is, int timeout)
          FIXME Comment this
 void notifyOutputShutdown(SocketId socketId)
          FIXME Comment this
 void registerRemoteServerSocket(int timeout)
          FIXME Comment this
 boolean requestManagerShutdown()
           
 void unregisterRemoteServerSocket()
          FIXME Comment this
 void verifyConnect(java.io.OutputStream os)
          FIXME Comment this
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.jboss.logging.Logger log

MP_CONNECT

public static final int MP_CONNECT
See Also:
Constant Field Values

MP_CONNECTED

public static final int MP_CONNECTED
See Also:
Constant Field Values

MP_VERIFY_CONNECTION

public static final int MP_VERIFY_CONNECTION
See Also:
Constant Field Values

MP_OUTPUT_SHUTDOWN

public static final int MP_OUTPUT_SHUTDOWN
See Also:
Constant Field Values

MP_DISCONNECT

public static final int MP_DISCONNECT
See Also:
Constant Field Values

MP_REGISTER_REMOTE_SERVER

public static final int MP_REGISTER_REMOTE_SERVER
See Also:
Constant Field Values

MP_UNREGISTER_REMOTE_SERVER

public static final int MP_UNREGISTER_REMOTE_SERVER
See Also:
Constant Field Values

MP_REQUEST_MANAGER_SHUTDOWN

public static final int MP_REQUEST_MANAGER_SHUTDOWN
See Also:
Constant Field Values

MP_ERROR

public static final int MP_ERROR
See Also:
Constant Field Values

MP_TRUE

public static final int MP_TRUE
See Also:
Constant Field Values

MP_FALSE

public static final int MP_FALSE
See Also:
Constant Field Values
Constructor Detail

Protocol

public Protocol(MultiplexingManager manager)
         throws java.io.IOException
Parameters:
manager -
Throws:
java.io.IOException
Method Detail

connect

public SocketId connect(MultiplexingDataInputStream is,
                        SocketId socketId)
                 throws java.io.IOException
FIXME Comment this

Parameters:
is - TODO
socketId -
Returns:
Throws:
java.io.IOException

connect

public SocketId connect(MultiplexingDataInputStream is,
                        SocketId socketId,
                        int timeout)
                 throws java.io.IOException
FIXME Comment this

Parameters:
is - TODO
socketId -
Returns:
Throws:
java.io.IOException

acceptConnect

public SocketId acceptConnect(MultiplexingDataInputStream is,
                              int timeout)
                       throws java.io.IOException
FIXME Comment this

Parameters:
is -
timeout - TODO
Returns:
Throws:
java.io.IOException

answerConnect

public void answerConnect(java.io.DataOutputStream os,
                          int port)
                   throws java.io.IOException
FIXME Comment this

Parameters:
os - TODO
port -
Throws:
java.io.IOException

verifyConnect

public void verifyConnect(java.io.OutputStream os)
                   throws java.io.IOException
FIXME Comment this

Parameters:
os - TODO
Throws:
java.io.IOException

getConnectVerification

public void getConnectVerification(MultiplexingDataInputStream is,
                                   int timeout)
                            throws java.io.IOException
FIXME Comment this

Parameters:
is - TODO
timeout - TODO
Throws:
java.io.IOException

notifyOutputShutdown

public void notifyOutputShutdown(SocketId socketId)
FIXME Comment this

Parameters:
socketId -

disconnect

public void disconnect(SocketId socketId)
FIXME Comment this

Parameters:
socketId -

registerRemoteServerSocket

public void registerRemoteServerSocket(int timeout)
                                throws java.io.IOException
FIXME Comment this

Parameters:
timeout -
Throws:
java.io.IOException

unregisterRemoteServerSocket

public void unregisterRemoteServerSocket()
FIXME Comment this


requestManagerShutdown

public boolean requestManagerShutdown()
                               throws java.io.IOException
Throws:
java.io.IOException

getBackChannelThread

public org.jboss.remoting.transport.multiplex.Protocol.BackChannelThread getBackChannelThread()
FIXME Comment this

Returns:


Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.