|
ACT-CV - Machine Vision for Cognitive Modeling
|
distributed ACT-CV: client class More...
#include <TcpClient.h>

Public Member Functions | |
| ActCvClient () | |
| ~ActCvClient () | |
| void | ConnectTo (const char *name, int port) |
| connects to the server running on name More... | |
| void | SendKey (int keyCode) |
| send a key to the server, it will be placed in the operating systems event loop on the server More... | |
| void | ReadData () |
| read data from ACT-CV running on the server More... | |
Protected Attributes | |
| SOCKET | sock |
| my socket More... | |
| bool | isConnected |
| connection status More... | |
distributed ACT-CV: client class
Definition at line 55 of file TcpClient.h.
| ActCvClient::ActCvClient | ( | ) |
Definition at line 64 of file TcpClient.h.
| ActCvClient::~ActCvClient | ( | ) |
Definition at line 65 of file TcpClient.h.
References isConnected, and sock.
| void ActCvClient::ConnectTo | ( | const char * | name, |
| int | port | ||
| ) |
connects to the server running on name
may throw ClientError
| port | the tcp port |
| name | the server name |
Definition at line 32 of file TcpClient.cpp.
Referenced by main().
| void ActCvClient::ReadData | ( | ) |
read data from ACT-CV running on the server
may throw ClientError
to be subclassed somewhere
Definition at line 89 of file TcpClient.cpp.
Referenced by main().
| void ActCvClient::SendKey | ( | int | keyCode) |
send a key to the server, it will be placed in the operating systems event loop on the server
may throw ClientError
| keyCode | code of the key as defined in the Java runtime environment |
Definition at line 69 of file TcpClient.cpp.
Referenced by main().
|
protected |
|
protected |