#include <EchoClient.h>
Public Member Functions | |
| EchoClient () | |
| virtual | ~EchoClient () |
| virtual OStatus | DoInit (const OSystemEvent &event) |
| virtual OStatus | DoStart (const OSystemEvent &event) |
| virtual OStatus | DoStop (const OSystemEvent &event) |
| virtual OStatus | DoDestroy (const OSystemEvent &event) |
| void | ConnectCont (ANTENVMSG msg) |
| void | SendCont (ANTENVMSG msg) |
| void | ReceiveCont (ANTENVMSG msg) |
| void | CloseCont (ANTENVMSG msg) |
Public Attributes | |
| OSubject * | subject [numOfSubject] |
| OObserver * | observer [numOfObserver] |
Private Member Functions | |
| OStatus | Connect (int index) |
| OStatus | Send (int index) |
| OStatus | Receive (int index) |
| OStatus | Close (int index) |
| OStatus | InitTCPConnection (int index) |
| void | SetSendData (int index) |
| void | SetReceiveData (int index) |
Private Attributes | |
| antStackRef | ipstackRef |
| TCPConnection | connection [ECHOCLIENT_CONNECTION_MAX] |
|
|
Definition at line 21 of file EchoClient.cc. |
|
|
Definition at line 25 of file EchoClient.h. |
|
|
Definition at line 195 of file EchoClient.cc. References connection, CONNECTION_CLOSED, ipstackRef, and TCPConnection::state. Referenced by ReceiveCont(), and SendCont(). |
|
|
Definition at line 214 of file EchoClient.cc. References connection, and TCPConnection::state. |
|
|
Definition at line 63 of file EchoClient.cc. References connection, ECHOSERVER_IP, ECHOSERVER_PORT, IP_ADDR_ANY(), ipstackRef, and TCPConnection::state. Referenced by DoStart(). |
|
|
Definition at line 84 of file EchoClient.cc. References connection, Send(), SetSendData(), and TCPConnection::state. |
|
|
Definition at line 57 of file EchoClient.cc. |
|
|
Definition at line 26 of file EchoClient.cc. |
|
|
Definition at line 33 of file EchoClient.cc. References Connect(), InitTCPConnection(), and ipstackRef. |
|
|
Definition at line 50 of file EchoClient.cc. |
|
|
Definition at line 226 of file EchoClient.cc. References byte, connection, ECHOCLIENT_BUFFER_SIZE, TCPConnection::endpoint, ipstackRef, TCPConnection::recvBuffer, TCPConnection::recvData, TCPConnection::sendBuffer, TCPConnection::sendData, and TCPConnection::state. Referenced by DoStart(). |
|
|
Definition at line 153 of file EchoClient.cc. References connection, CONNECTION_CONNECTED, ipstackRef, and TCPConnection::state. Referenced by SendCont(). |
|
|
Definition at line 172 of file EchoClient.cc. References Close(), connection, Send(), and SetSendData(). |
|
|
Definition at line 107 of file EchoClient.cc. References connection, ipstackRef, TCPConnection::sendSize, and TCPConnection::state. Referenced by ConnectCont(), and ReceiveCont(). |
|
|
Definition at line 129 of file EchoClient.cc. References Close(), connection, Receive(), SetReceiveData(), and TCPConnection::state. |
|
|
Definition at line 297 of file EchoClient.cc. References connection, and TCPConnection::recvSize. Referenced by SendCont(). |
|
|
Definition at line 290 of file EchoClient.cc. References connection, ECHOCLIENT_MESSAGE, and TCPConnection::sendSize. Referenced by ConnectCont(), and ReceiveCont(). |
|
|
Definition at line 51 of file EchoClient.h. Referenced by Close(), CloseCont(), Connect(), ConnectCont(), InitTCPConnection(), Receive(), ReceiveCont(), Send(), SendCont(), SetReceiveData(), and SetSendData(). |
|
|
Definition at line 50 of file EchoClient.h. Referenced by Close(), Connect(), DoStart(), InitTCPConnection(), Receive(), and Send(). |
|
|
Definition at line 28 of file EchoClient.h. |
|
|
Definition at line 27 of file EchoClient.h. |
1.3.9.1