org.apgrid.grpc.ng
Class Protocol

java.lang.Object
  extended byorg.apgrid.grpc.ng.Protocol

public abstract class Protocol
extends java.lang.Object


Constructor Summary
Protocol()
           
Protocol(int kind, int type, int sequenceNum, int contextID, int executableID, int sessionID, int result, int versionMajor, int versionMinor, int versionPatch)
           
Protocol(NgDataInputStream ngdi)
           
Protocol(org.w3c.dom.Node node)
           
 
Method Summary
static Protocol readProtocol(java.lang.String str)
           
 java.lang.String toString()
           
 java.lang.String toXMLString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Protocol

public Protocol()

Protocol

public Protocol(int kind,
                int type,
                int sequenceNum,
                int contextID,
                int executableID,
                int sessionID,
                int result,
                int versionMajor,
                int versionMinor,
                int versionPatch)
Parameters:
kind -
type -
sequenceNum -
contextID -
executableID -
sessionID -
result -

Protocol

public Protocol(NgDataInputStream ngdi)
         throws GrpcException
Parameters:
ngdi -
Throws:
GrpcException

Protocol

public Protocol(org.w3c.dom.Node node)
         throws GrpcException
Parameters:
node -
Method Detail

readProtocol

public static Protocol readProtocol(java.lang.String str)
                             throws GrpcException
Parameters:
str -
Returns:
Throws:
GrpcException

toXMLString

public java.lang.String toXMLString()
                             throws GrpcException
Returns:
Throws:
GrpcException

toString

public java.lang.String toString()