2.2.2 Session Control (RCCOMMAND)
Session Control (<RCCOMMAND>) messages are XML formatted messages that are used for share control, file transfer initialization, and VoIP control. They MUST be sent and received over virtual channel 71.
The format of the <RCCOMMAND> message is as follows.
Usage
-
<RCCOMMAND NAME = "CDATA" FILENAME = "CDATA" FILESIZE = "CDATA" CHANNELID = "CDATA" INTERNALDATA = "CDATA" VOIPVER = "CDATA" VOIPGOKEY = "CDATA" VOIPIPLIST = "CDATA" EXPERTIPDATA = "CDATA" PROPERTY = "CDATA" VALUE = "CDATA" />
Attributes
Attribute |
Type |
Required |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NAME |
CDATA |
Yes |
The NAME attribute of <RCCOMMAND> specifies the type of activity requested. The following NAME value specifies file transfer commands.
The following NAME values specify session control messages.
The following NAME values specify synchronization parameters.
The following NAME values specify voice-enabling commands.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FILENAME |
CDATA |
No |
The FILENAME attribute specifies the name of the file to be transferred. This attribute is used only for FILEXFER packets.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FILESIZE |
CDATA |
No |
Specifies the file size for transfer. This attribute is used only for FILEXFER packets.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CHANNELID |
CDATA |
No |
Specifies the virtual channel on which the file data and FILEXFERACK, FILEXFERREJECT, and FILEXFEREND packets will be transferred. This attribute MUST be used only for FILEXFER packets. The format of the virtual channel name is version dependent. For version 1, in the case where the novice started the file transfer, the name will be the IP address of the sender followed by the character ".", followed by the number of seconds since January 1, 1970. In the case where the expert started the file transfer, the name will be the characters "1000." followed by the number of seconds since January 1, 1970. For version 2 or version 3, regardless of which role started the transfer, the name will be "RA_FX".
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
INTERNALDATA |
CDATA |
No |
Specifies if the file transfer request is considered as an internal data transfer. This attribute is supported only by version 3. If this attribute is missing or set to "0", the file transfer request is not considered as an internal data transfer. Any other value is interpreted as bit flags.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VOIPVER |
CDATA |
No |
This attribute is used only for VOIPGO packets.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VOIPGOKEY |
CDATA |
No |
Specifies that a key will be generated by the server and used by the client to create an RTC connection. This attribute is used only for VOIPGO packets.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VOIPIPLIST |
CDATA |
No |
This attribute specifies a comma-delimited list of IP addresses on which the server will accept an RTC connection. This attribute is used only for VOIPGO packets.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EXPERTIPDATA |
CDATA |
No |
This attribute specifies the IP address of the connecting expert. It is used only for EXPERTIP packets. This message is generated only in version 1.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PROPERTY |
CDATA |
No |
Specifies the name of the setting that is being announced. This attribute is used only for SETTINGANNOUNCE packets. This attribute is generated only in version 3.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VALUE |
CDATA |
No |
Specifies the value of the setting that is being announced. This attribute is used only for SETTINGANNOUNCE packets. This attribute is generated only in version 3.
|
Child Elements
None.
Parent Elements
None.
Element Information
Can be empty |
Yes |
---|