net.kano.joscar.rvcmd.trillcrypt
Class TrillianCryptBeginRvCmd

java.lang.Object
  extended byRvCommand
      extended byAbstractTrillianCryptRvCmd
          extended byTrillianCryptBeginRvCmd

public class TrillianCryptBeginRvCmd
extends AbstractTrillianCryptRvCmd

A rendezvous command used to "begin" a Trillian Encryption session.


Field Summary
 
Fields inherited from class AbstractTrillianCryptRvCmd
CMDTYPE_ACCEPT, CMDTYPE_BEGIN, CMDTYPE_CLOSE, CMDTYPE_MESSAGE, CMDTYPE_REQUEST, VERSION_DEFAULT
 
Fields inherited from class RvCommand
RVSTATUS_ACCEPT, RVSTATUS_DENY, RVSTATUS_REQUEST
 
Constructor Summary
TrillianCryptBeginRvCmd()
          Creates a new outgoing Trillian Encryption session start command.
TrillianCryptBeginRvCmd(RecvRvIcbm icbm)
          Creates a new Trillian Encryption session start command from the given incoming session start RV ICBM.
 
Method Summary
 java.lang.String toString()
           
protected  void writeExtraTlvs(java.io.OutputStream out)
          Writes any "extra" TLV's to be sent in this command to the given stream.
 
Methods inherited from class AbstractTrillianCryptRvCmd
getBigIntFromHexBlock, getBigIntHexBlock, getCmdType, getExtraTlvs, getTrillianCmdType, getVersion, writeRvData
 
Methods inherited from class RvCommand
getCapabilityBlock, getRvStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrillianCryptBeginRvCmd

public TrillianCryptBeginRvCmd(RecvRvIcbm icbm)
Creates a new Trillian Encryption session start command from the given incoming session start RV ICBM.

Parameters:
icbm - an incoming Trillian Encryption session start RV ICBM command

TrillianCryptBeginRvCmd

public TrillianCryptBeginRvCmd()
Creates a new outgoing Trillian Encryption session start command.

Method Detail

writeExtraTlvs

protected void writeExtraTlvs(java.io.OutputStream out)
                       throws java.io.IOException
Description copied from class: AbstractTrillianCryptRvCmd
Writes any "extra" TLV's to be sent in this command to the given stream.

Specified by:
writeExtraTlvs in class AbstractTrillianCryptRvCmd
Parameters:
out - the stream to which to write
Throws:
java.io.IOException

toString

public java.lang.String toString()