/** * Creates a new file send request from the given incoming file send request RV ICBM. * * @param icbm an incoming file send request RV ICBM */ public FileSendReqRvCmd(RecvRvIcbm icbm) { super(icbm); TlvChain chain = getRvTlvs(); invMessage = InvitationMessage.readInvitationMessage(chain); ByteBlock sendData = getServiceData(); fileSendBlock = (sendData == null ? null : FileSendBlock.readFileSendBlock(sendData)); connInfo = RvConnectionInfo.readConnectionInfo(chain); }