Public Methods
-
virtual int connectTo(string host, int port)
- connect to a specified host returning a socket identifier
-
virtual bool isConnected()
- true iff connected to a host
-
virtual int availableData()
- Return how much available data there is waiting to be read
-
virtual int status()
- Return status
-
virtual void sendData(const char* data, int len)
- Send data
-
virtual void disconnect()
- Disconnect
-
virtual void socketData(char* &data, int &len)
- Call to retrieve all data available
-
virtual void checkForData()
- update socket and check for data
-
virtual int getSock()
- return socket handle
-
virtual void setOwner(Protocol* p)
- Set our owner.
Documentation
virtual int connectTo(string host, int port)
-
connect to a specified host returning a socket identifier
virtual bool isConnected()
-
true iff connected to a host
virtual int availableData()
-
Return how much available data there is waiting to be read
virtual int status()
-
Return status
virtual void sendData(const char* data, int len)
-
Send data
virtual void disconnect()
-
Disconnect
virtual void socketData(char* &data, int &len)
-
Call to retrieve all data available
virtual void checkForData()
-
update socket and check for data
virtual int getSock()
-
return socket handle
virtual void setOwner(Protocol* p)
-
Set our owner. The protocol instance we should pass all incoming data to
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.