EClientSocket Class Reference
TWS/Gateway client class This client class contains all the available methods to communicate with LYNX. Up to 32 clients can be connected to a single instance of the TWS/Gateway simultaneously. From herein, the TWS/Gateway will be referred to as the Host.
Inheritance diagram for EClientSocket:
Public Member Functions | |
---|---|
EClientSocket (EWrapper wrapper, EReaderSignal eReaderSignal) | |
void | eConnect (string host, int port, int clientId) |
void | eConnect (string host, int port, int clientId, bool extraAuth) |
Creates socket connection to TWS/LYNX. | |
void | redirect (string host) |
Redirects connection to different host. | |
override void | eDisconnect (bool resetState=true) |
Closes the socket connection and terminates its thread. | |
Public Member Functions inherited from EClient |
Protected Member Functions | |
---|---|
virtual Stream | createClientStream (string host, int port) |
override uint | prepareBuffer (BinaryWriter paramsList) |
override void | CloseAndSend (BinaryWriter request, uint lengthPos) |
Protected Member Functions inherited from EClient |
Additional Inherited Members |
---|
Protected Attributes inherited from EClient |
Properties inherited from EClient |
Detailed Description
TWS/Gateway client class This client class contains all the available methods to communicate with LYNX. Up to 32 clients can be connected to a single instance of the TWS/Gateway simultaneously. From herein, the TWS/Gateway will be referred to as the Host.
Member Function Documentation
void eConnect | (string host,int port,int clientId ) |
Creates socket connection to TWS/LYNX. This earlier version of eConnect does not have extraAuth parameter.