namespace Akenti class Socket A Socket contains a reference count that wraps a SocketImpl object
| | Socket (const string& host, int port) Creates the socket given the host and the port |
| | Socket (SocketImpl* impl = NULL) Creates the socket given the SocketImpl |
| | ~Socket () Decrements the ref_cnt by 1 and when it goes to 0 destroys this object |
| | getHost () const Returns the host of the remote server |
| | getPort () const Returns the port number of the remote server |
| | getInputStream () const Returns any InputStream associated with the socket |
| | getOutputStream () const OutputStream is valid as long as the socket is valid |
| | connect () Does the connect |
| | close () Does the close |
| | paramString () const Returns a string representation for Socket which is used for debugging purposes |
A Socket contains a reference count that wraps a SocketImpl object. It is used to indirectly access the SockImpl methods.
Socket(SocketImpl* impl = NULL)
virtual ~Socket()
const string& getHost() const
int getPort() const
InputStream& getInputStream() const
OutputStream& getOutputStream() const
void connect()
void close()
string paramString() const
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de