net.kano.joscar.rvcmd.addins
Class AddinsRejectRvCmd

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

public class AddinsRejectRvCmd
extends AbstractRejectRvCmd

A rendezvous command used to indicate that the user has denied an add-in invitation.


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

AddinsRejectRvCmd

public AddinsRejectRvCmd(RecvRvIcbm icbm)
Creates a new add-in invitation rejection RV command from the given incoming add-in rejection RV ICBM.

Parameters:
icbm - an incoming add-in invitation rejection RV command

AddinsRejectRvCmd

public AddinsRejectRvCmd(int rejectionCode)
Creates a new outgoing add-in invitation rejection RV command with the given rejection code.

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