net.kano.joscar.rvcmd.directim
Class DirectIMAcceptRvCmd

java.lang.Object
  extended byRvCommand
      extended byAbstractRvCmd
          extended byAbstractAcceptRvCmd
              extended byDirectIMAcceptRvCmd

public class DirectIMAcceptRvCmd
extends AbstractAcceptRvCmd

A rendezvous command used to indicate that a direct IM request has been accepted and a connection attempt is being made.


Field Summary
 
Fields inherited from class RvCommand
RVSTATUS_ACCEPT, RVSTATUS_DENY, RVSTATUS_REQUEST
 
Constructor Summary
DirectIMAcceptRvCmd()
          Creates a new outgoing (unencrypted) direct IM acceptance command.
DirectIMAcceptRvCmd(boolean encrypted)
          Creates a new outgoing acceptance command for either an encrypted or a normal direct IM invitation.
DirectIMAcceptRvCmd(RecvRvIcbm icbm)
          Creates a new direct IM acceptance command from the given incoming direct IM acceptance RV ICBM.
 
Methods inherited from class AbstractAcceptRvCmd
isEncrypted, toString, writeHeaderRvTlvs, writeRvTlvs
 
Methods inherited from class AbstractRvCmd
getRvTlvs, getServiceData, hasServiceData, writeRvData, writeServiceData
 
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

DirectIMAcceptRvCmd

public DirectIMAcceptRvCmd(RecvRvIcbm icbm)
Creates a new direct IM acceptance command from the given incoming direct IM acceptance RV ICBM.

Parameters:
icbm - an incoming direct IM acceptance RV ICBM command

DirectIMAcceptRvCmd

public DirectIMAcceptRvCmd()
Creates a new outgoing (unencrypted) direct IM acceptance command.


DirectIMAcceptRvCmd

public DirectIMAcceptRvCmd(boolean encrypted)
Creates a new outgoing acceptance command for either an encrypted or a normal direct IM invitation.

Parameters:
encrypted - whether or not the direct IM connection being accepted is a secure/encrypted connection