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_INPUT_SHUTDOWN
           
static int MP_OUTPUT_SHUTDOWN
           
static int MP_REGISTER_REMOTE_SERVER
           
static int MP_SERVER_SOCKET_QUERY
           
static int MP_SHUTDOWN_MANAGER
           
static int MP_TRUE
           
static int MP_UNREGISTER_REMOTE_SERVER
           
 
Constructor Summary
Protocol(MultiplexingManager manager)
           
 
Method Summary
 SocketId acceptConnect()
          FIXME Comment this
static SocketId acceptConnect(java.io.DataInputStream is)
          FIXME Comment this
 void answerConnect(int port)
          FIXME Comment this
 SocketId connect(SocketId socketId)
          FIXME Comment this
 void disconnect(SocketId socketId)
           
 org.jboss.remoting.transport.multiplex.Protocol.BackChannelThread getBackChannelThread()
          FIXME Comment this
 boolean isRemoteServerSocketRegistered()
          FIXME Comment this
 void notifyInputShutdown(SocketId socketId)
          FIXME Comment this
 void notifyOfManagerShutdown()
           
 void notifyOutputShutdown(SocketId socketId)
          FIXME Comment this
 void registerRemoteServerSocket()
          FIXME Comment this
 void unregisterRemoteServerSocket()
          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_INPUT_SHUTDOWN

public static final int MP_INPUT_SHUTDOWN
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_SERVER_SOCKET_QUERY

public static final int MP_SERVER_SOCKET_QUERY
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_SHUTDOWN_MANAGER

public static final int MP_SHUTDOWN_MANAGER
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(SocketId socketId)
                 throws java.io.IOException
FIXME Comment this

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

acceptConnect

public static SocketId acceptConnect(java.io.DataInputStream is)
                              throws java.io.IOException
FIXME Comment this

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

acceptConnect

public SocketId acceptConnect()
                       throws java.io.IOException
FIXME Comment this

Returns:
Throws:
java.io.IOException

answerConnect

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

Parameters:
port -
Throws:
java.io.IOException

notifyInputShutdown

public void notifyInputShutdown(SocketId socketId)
FIXME Comment this

Parameters:
socketId -

notifyOutputShutdown

public void notifyOutputShutdown(SocketId socketId)
FIXME Comment this

Parameters:
socketId -

isRemoteServerSocketRegistered

public boolean isRemoteServerSocketRegistered()
                                       throws java.io.IOException
FIXME Comment this

Returns:
Throws:
java.io.IOException

disconnect

public void disconnect(SocketId socketId)

registerRemoteServerSocket

public void registerRemoteServerSocket()
FIXME Comment this


unregisterRemoteServerSocket

public void unregisterRemoteServerSocket()
FIXME Comment this


notifyOfManagerShutdown

public void notifyOfManagerShutdown()

getBackChannelThread

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

Returns:


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