net.kano.joscar.rvcmd.chatinvite
Class ChatInviteRejectRvCmd

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

public class ChatInviteRejectRvCmd
extends AbstractRejectRvCmd

A rendezvous command used to indicate that an chat invitation has been rejected.


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

ChatInviteRejectRvCmd

public ChatInviteRejectRvCmd(RecvRvIcbm icbm)
Creates a new chat invitation rejection command from the given incoming chat invitation rejection RV ICBM.

Parameters:
icbm - an incoming chat invitation rejection RV ICBM command

ChatInviteRejectRvCmd

public ChatInviteRejectRvCmd(int rejectionCode)
Creates a new outgoing chat invitation rejection command with the given rejection code.

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