Метод | Описание | |
---|---|---|
GetNumberOfReceivedData ( ) : int | ||
Init ( int QueueSize, TransmittedDataCBType aTransmittedDataCB, ReceivedDataCDType aReceivedDataCD ) : void |
Internal init function
|
|
ReceiveData ( byte &data, int size ) : int |
Receive data from the connected server.
|
|
SendData ( byte data, int size ) : void |
Send data to the conneted server
|
|
TCPClient ( String IPAddressStr, int Port, TransmittedDataCBType aTransmittedDataCB, ReceivedDataCDType aReceivedDataCD ) : System |
Create a TCP client objet, on the specified ip address and port.
|
Метод | Описание | |
---|---|---|
ReceptionTask ( ) : void |
Reception Task
|
|
TransmissionTask ( ) : void |
Transmission task
|
public Init ( int QueueSize, TransmittedDataCBType aTransmittedDataCB, ReceivedDataCDType aReceivedDataCD ) : void | ||
QueueSize | int | |
aTransmittedDataCB | TransmittedDataCBType | |
aReceivedDataCD | ReceivedDataCDType | |
Результат | void |
public ReceiveData ( byte &data, int size ) : int | ||
data | byte | |
size | int | |
Результат | int |
public SendData ( byte data, int size ) : void | ||
data | byte | |
size | int | |
Результат | void |
public TCPClient ( String IPAddressStr, int Port, TransmittedDataCBType aTransmittedDataCB, ReceivedDataCDType aReceivedDataCD ) : System | ||
IPAddressStr | String | |
Port | int | |
aTransmittedDataCB | TransmittedDataCBType | |
aReceivedDataCD | ReceivedDataCDType | |
Результат | System |