com.buglabs.util
Class StreamMultiplexerEvent

java.lang.Object
  extended by com.buglabs.util.StreamMultiplexerEvent

public class StreamMultiplexerEvent
extends java.lang.Object

Representation of a StreamMultiplexerEvent


Field Summary
static int EVENT_STREAM_ADDED
          A new input stream has been requested.
static int EVENT_STREAM_REMOVED
          An input stream has been closed.
 int numberOfStreams
          The number of current active input streams.
 int type
          The event type.
 
Constructor Summary
StreamMultiplexerEvent(int type, int size)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_STREAM_ADDED

public static final int EVENT_STREAM_ADDED
A new input stream has been requested.

See Also:
Constant Field Values

EVENT_STREAM_REMOVED

public static final int EVENT_STREAM_REMOVED
An input stream has been closed.

See Also:
Constant Field Values

type

public int type
The event type. Possible values are:

See Also:
EVENT_STREAM_ADDED, EVENT_STREAM_REMOVED

numberOfStreams

public int numberOfStreams
The number of current active input streams.

Constructor Detail

StreamMultiplexerEvent

public StreamMultiplexerEvent(int type,
                              int size)