com.monica.javacom.transport
Class MJCTransportConstants

java.lang.Object
  |
  +--com.monica.javacom.transport.MJCTransportConstants

public final class MJCTransportConstants
extends java.lang.Object

Provides constants for describing the connection status of a MJCTransport.


Field Summary
static int ACCEPTING_SOCKETS
          The MJCTransport runs a accepting server, that means it is able to establish connections for arriving new clients.
static int CONNECTED_CLIENT
          The MJCTransport runs in an own thread as a client part for a server.
static int CONNECTED_SERVER
          The MJCTransport runs in an own thread as a server part for a client.
static int NOT_CONNECTED
          The MJCTransport is not connected to any other party.
static int NOT_CONNECTED_WITH_DATA_WAITING
          The MJCTransport is not connected to any other party, but was previously and there is data in the read buffer that hasn't been read out yet.
 
Constructor Summary
MJCTransportConstants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_CONNECTED

public static final int NOT_CONNECTED
The MJCTransport is not connected to any other party.

CONNECTED_SERVER

public static final int CONNECTED_SERVER
The MJCTransport runs in an own thread as a server part for a client.

CONNECTED_CLIENT

public static final int CONNECTED_CLIENT
The MJCTransport runs in an own thread as a client part for a server.

NOT_CONNECTED_WITH_DATA_WAITING

public static final int NOT_CONNECTED_WITH_DATA_WAITING
The MJCTransport is not connected to any other party, but was previously and there is data in the read buffer that hasn't been read out yet.

ACCEPTING_SOCKETS

public static final int ACCEPTING_SOCKETS
The MJCTransport runs a accepting server, that means it is able to establish connections for arriving new clients.
Constructor Detail

MJCTransportConstants

public MJCTransportConstants()