ks.domain
Class Protocol

java.lang.Object
  extended byks.domain.Protocol

public class Protocol
extends java.lang.Object

Maintains Client and Server communication protocol information.

VERSIONS:

 1. "1.0 [01/10/22 19:55:53]" -- Original protocol. 
 2. "1.1 [01/11/24 13:35:19]" -- Reorganized commands and added *Manager commands. 
 3. "2.0 [02/03/07 00:49:17]" -- Totall revised for Dterm. 
 4. "2.1 [02/03/13 22:16:12]" -- replaced (char) 01 for SEP string in Commmand/Message 
 5. "2.2 [02/04/23 21:10:10]" -- added the AccessType onto the CreateTable command.
 6. "2.3 [05/01/31 16:36:17]" -- updated to CMI and CS509.
 
Creation date: (10/7/01 9:15:14 PM)


Field Summary
static java.lang.String ACK
          Acknowledgment for successful operation.
static java.lang.String globalScope
          Possible Scope Values.
static java.lang.String knownProtocol
          Known Protocol used by client to connect with server.
static java.lang.String NACK
          Acknowledgment for failure operation.
 
Constructor Summary
Protocol()
          Protocol constructor comment.
 
Method Summary
static java.lang.String verifyProtocol(java.lang.String clientProtocol)
          Returns parameter string if protocol is compatible with server, otherwise, returns a different string which is the version that client is expected to download.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

knownProtocol

public static final java.lang.String knownProtocol
Known Protocol used by client to connect with server.

See Also:
Constant Field Values

globalScope

public static final java.lang.String globalScope
Possible Scope Values.

See Also:
Constant Field Values

ACK

public static final java.lang.String ACK
Acknowledgment for successful operation.

See Also:
Constant Field Values

NACK

public static final java.lang.String NACK
Acknowledgment for failure operation.

See Also:
Constant Field Values
Constructor Detail

Protocol

public Protocol()
Protocol constructor comment.

Method Detail

verifyProtocol

public static final java.lang.String verifyProtocol(java.lang.String clientProtocol)
Returns parameter string if protocol is compatible with server, otherwise, returns a different string which is the version that client is expected to download.