fabric.net
Interface ChannelMultiplexerThread.CallbackHandler

Enclosing class:
ChannelMultiplexerThread

public static interface ChannelMultiplexerThread.CallbackHandler


Method Summary
 void connectionClosed()
          Signals that the remote host has closed the connection.
 void newStream(ChannelMultiplexerThread muxer, int streamID)
          Signals that the remote end has created a new sub-stream.
 void shutdown()
          Signals that the channel multiplexer thread is shutting down.
 

Method Detail

newStream

void newStream(ChannelMultiplexerThread muxer,
               int streamID)
Signals that the remote end has created a new sub-stream. Implementations should call registerChannels() to register a pair of channels at the given streamID.


connectionClosed

void connectionClosed()
Signals that the remote host has closed the connection.


shutdown

void shutdown()
Signals that the channel multiplexer thread is shutting down.