rpc.core
Class ProtocolVersion

java.lang.Object
  extended by ndr.NdrObject
      extended by rpc.core.ProtocolVersion

public class ProtocolVersion
extends NdrObject


Field Summary
 
Fields inherited from class ndr.NdrObject
value
 
Constructor Summary
ProtocolVersion()
           
 
Method Summary
 void decode(NetworkDataRepresentation ndr, NdrBuffer src)
           
 void encode(NetworkDataRepresentation ndr, NdrBuffer dst)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 void setMajorVersion(short majorVersion)
           
 void setMinorVersion(short minorVersion)
           
 
Methods inherited from class ndr.NdrObject
getOpnum, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolVersion

public ProtocolVersion()
Method Detail

getMajorVersion

public int getMajorVersion()

setMajorVersion

public void setMajorVersion(short majorVersion)

getMinorVersion

public int getMinorVersion()

setMinorVersion

public void setMinorVersion(short minorVersion)

encode

public void encode(NetworkDataRepresentation ndr,
                   NdrBuffer dst)
            throws NdrException
Overrides:
encode in class NdrObject
Throws:
NdrException

decode

public void decode(NetworkDataRepresentation ndr,
                   NdrBuffer src)
            throws NdrException
Overrides:
decode in class NdrObject
Throws:
NdrException