wtalk
Class Protocol

java.lang.Object
  |
  +--wtalk.Protocol

public class Protocol
extends java.lang.Object

Controls the creation of WTalkProtocol objects, which are the foundation for all communications in WTalk.

Several constants are defined here which represent each of the supported protocols. Two special constants, UNDEF and MAX are provided as well.


Field Summary
static int MAX
           
static int PMS
           
static int UNDEF
           
static int USA
           
 
Constructor Summary
Protocol()
           
 
Method Summary
static wtalk.protocols.WTalkProtocol getProtocol(int protocol)
          Returns a WTalkProtocol according to the paramater protocol.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEF

public static final int UNDEF
See Also:
Constant Field Values

USA

public static final int USA
See Also:
Constant Field Values

PMS

public static final int PMS
See Also:
Constant Field Values

MAX

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

Protocol

public Protocol()
Method Detail

getProtocol

public static wtalk.protocols.WTalkProtocol getProtocol(int protocol)
Returns a WTalkProtocol according to the paramater protocol.

Parameters:
protocol - One of the defined constants representing a supported protocol.
Returns:
Returns a WTalkProtocol if protocol is supported, otherwise null.