net.kano.joscar.rvcmd.sendfile
Class FileSendAcceptRvCmd

java.lang.Object
  extended byRvCommand
      extended byAbstractRvCmd
          extended byAbstractAcceptRvCmd
              extended byFileSendAcceptRvCmd

public class FileSendAcceptRvCmd
extends AbstractAcceptRvCmd

A rendezvous command used to indicate that a file transfer request has been accepted and a connection is being made.


Field Summary
 
Fields inherited from class RvCommand
RVSTATUS_ACCEPT, RVSTATUS_DENY, RVSTATUS_REQUEST
 
Constructor Summary
FileSendAcceptRvCmd()
          Creates a new outgoing file transfer acceptance command.
FileSendAcceptRvCmd(boolean encrypted)
          Creates a new outgoing acceptance command for either an encrypted or a normal file transfer request.
FileSendAcceptRvCmd(RecvRvIcbm icbm)
          Creates a new file transfer acceptance command from the given incoming file transfer acceptance RV ICBM.
 
Methods inherited from class AbstractAcceptRvCmd
isEncrypted, 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

FileSendAcceptRvCmd

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

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

FileSendAcceptRvCmd

public FileSendAcceptRvCmd()
Creates a new outgoing file transfer acceptance command.


FileSendAcceptRvCmd

public FileSendAcceptRvCmd(boolean encrypted)
Creates a new outgoing acceptance command for either an encrypted or a normal file transfer request.

Parameters:
encrypted - whether or not the file transfer connection being accepted is a secure/encrypted connection