net.kano.joscar.rvcmd.getfile
Class GetFileAcceptRvCmd

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

public class GetFileAcceptRvCmd
extends AbstractAcceptRvCmd

A rendezvous command used to indicate that a "Get File" browsing request was accepted and a connection attempt is being made.


Field Summary
 
Fields inherited from class RvCommand
RVSTATUS_ACCEPT, RVSTATUS_DENY, RVSTATUS_REQUEST
 
Constructor Summary
GetFileAcceptRvCmd()
          Creates a new outgoing (unencrypted) Get File acceptance command.
GetFileAcceptRvCmd(boolean encrypted)
          Creates a new outgoing RV acceptance command for either an encrypted or a normal Get File connection.
GetFileAcceptRvCmd(RecvRvIcbm icbm)
          Creates a new Get File session acceptance command from the given incoming Get File session 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

GetFileAcceptRvCmd

public GetFileAcceptRvCmd(RecvRvIcbm icbm)
Creates a new Get File session acceptance command from the given incoming Get File session acceptance RV ICBM.

Parameters:
icbm - an incoming Get File session acceptance RV ICBM command

GetFileAcceptRvCmd

public GetFileAcceptRvCmd()
Creates a new outgoing (unencrypted) Get File acceptance command.


GetFileAcceptRvCmd

public GetFileAcceptRvCmd(boolean encrypted)
Creates a new outgoing RV acceptance command for either an encrypted or a normal Get File connection.

Parameters:
encrypted - whether or not the Get File connection being accepted is to be encrypted