net.kano.joscar.rvcmd.directim
Class DirectIMRejectRvCmd

java.lang.Object
  extended byRvCommand
      extended byAbstractRvCmd
          extended byAbstractRejectRvCmd
              extended byDirectIMRejectRvCmd

public class DirectIMRejectRvCmd
extends AbstractRejectRvCmd

A rendezvous command used to indicate that a direct IM request has been denied.


Field Summary
 
Fields inherited from class AbstractRejectRvCmd
REJECTCODE_CANCELLED
 
Fields inherited from class RvCommand
RVSTATUS_ACCEPT, RVSTATUS_DENY, RVSTATUS_REQUEST
 
Constructor Summary
DirectIMRejectRvCmd(int rejectionCode)
          Creates a new outgoing direct IM rejection command with the given rejection code.
DirectIMRejectRvCmd(RecvRvIcbm icbm)
          Creates a new direct IM rejection command from the given incoming direct IM rejection RV ICBM.
 
Methods inherited from class AbstractRejectRvCmd
getRejectCode, 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

DirectIMRejectRvCmd

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

Parameters:
icbm - an incoming direct IM rejection RV ICBM

DirectIMRejectRvCmd

public DirectIMRejectRvCmd(int rejectionCode)
Creates a new outgoing direct IM rejection command with the given rejection code.

Parameters:
rejectionCode - a rejection code, like AbstractRejectRvCmd.REJECTCODE_CANCELLED