net.kano.joscar.rvcmd.voice
Class VoiceRejectRvCmd

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

public class VoiceRejectRvCmd
extends AbstractRejectRvCmd

A rendezvous command used to indicate that a voice chat invitation has been denied or cancelled.


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

VoiceRejectRvCmd

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

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

VoiceRejectRvCmd

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

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