#include <ConnectionInterface.h>
Inheritance diagram for ConnectionInterface::
Public Methods | |
virtual | ~ConnectionInterface () |
virtual int | connect ()=0 |
virtual void | close ()=0 |
virtual int | listen ()=0 |
virtual ConnectionInterface * | accept ()=0 |
virtual int | read (unsigned char *buffer, int bufferSize, int amountToRead)=0 |
virtual int | write (unsigned char *buffer, int amount)=0 |
virtual bool | isConnected ()=0 |
virtual bool | isConnectedTo (IpAddress)=0 |
virtual SocketAddress * | getSocketAddress ()=0 |
virtual void | setSocketAddress (SocketAddress *)=0 |
virtual int | getStream ()=0 |
virtual void | setStream (int)=0 |
virtual ObjectType | getConnectionType ()=0 |
Static Public Methods | |
ConnectionInterface * | createConnectionObject (ObjectType) |
|
Definition at line 21 of file ConnectionInterface.h. |
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::accept().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::close(), and LinkLayerInterface::remove().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::connect(), and LinkLayerInterface::connect().
|
|
Definition at line 4 of file ConnectionInterface.cpp. Referenced by Config::Config(), and LinkLayerInterface::connect().
|
|
Reimplemented in SslConnection, and TcpConnection. |
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::accept(), LinkLayerInterface::accept(), Node::equals(), and SslConnection::getSocketAddress().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::accept(), LinkLayerInterface::add(), SslConnection::connect(), and SslConnection::getStream().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::connect(), SslConnection::isConnected(), SslConnection::read(), and NpPacket::read().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::isConnectedTo().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::listen().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by NpPacket::read().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by Config::Config(), LinkLayerInterface::connect(), and SslConnection::setSocketAddress().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by SslConnection::setStream().
|
|
Reimplemented in SslConnection, and TcpConnection. Referenced by NpPacket::write().
|