net.kano.joscar.rvcmd.sendfile
Class FileSendRejectRvCmd

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

public class FileSendRejectRvCmd
extends AbstractRejectRvCmd

A rendezvous command sent to indicate that a file send 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
FileSendRejectRvCmd(int rejectionCode)
          Creates a new outgoing file transfer denial command with the given denial code.
FileSendRejectRvCmd(RecvRvIcbm icbm)
          Creates a new file transfer denial command from the given incoming file transfer denial 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

FileSendRejectRvCmd

public FileSendRejectRvCmd(RecvRvIcbm icbm)
Creates a new file transfer denial command from the given incoming file transfer denial RV ICBM.

Parameters:
icbm - an incoming file transfer denial RV ICBM command

FileSendRejectRvCmd

public FileSendRejectRvCmd(int rejectionCode)
Creates a new outgoing file transfer denial command with the given denial code.

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