#include <omTCPMessage.h>
Public Member Functions | |
omTCPMessage () | |
wxString | GetCommand () |
wxString | GetParameter (int) |
int | GetParCount () |
wxString | GetFormattedMessage () |
void | AddParameter (wxString) |
Data Fields | |
wxString | fromAgent |
FROM_AGENT: field. | |
wxString | fromService |
FROM_SERVICE: field. | |
wxString | fromHost |
FROM_IP: field. | |
wxString | toAgent |
TO_AGENT: field. | |
wxString | toService |
TO_SERVICE: field. | |
wxString | toHost |
TO_IP: field. | |
wxString | command |
Command Code field. | |
wxArrayString | parameters |
Parameters. |
This class is used to store a TCP message received or to send. Message fileds are stored in public attributes.
|
Initialize the class. |
|
Set parameters
|
|
Return message command part. |
|
Return message formatted to be sent via TCP/IP
|
|
Get a stored parameter.
|
|
Get the number of stored parameters.
|
|
Command Code field.
|
|
FROM_AGENT: field.
|
|
FROM_IP: field.
|
|
FROM_SERVICE: field.
|
|
Parameters.
|
|
TO_AGENT: field.
|
|
TO_IP: field.
|
|
TO_SERVICE: field.
|
Copyright © by Luca Clivio |