#include <transports.h>
Inheritance diagram for OpalTransportIP:

Public Member Functions | |
Operations | |
| virtual OpalTransportAddress | GetLocalAddress () const |
| virtual PBoolean | SetLocalAddress (const OpalTransportAddress &address) |
| virtual OpalTransportAddress | GetRemoteAddress () const |
| virtual PBoolean | SetRemoteAddress (const OpalTransportAddress &address) |
Protected Member Functions | |
| virtual const char * | GetProtoPrefix () const=0 |
Protected Attributes | |
| PIPSocket::Address | localAddress |
| WORD | localPort |
| PIPSocket::Address | remoteAddress |
| WORD | remotePort |
| OpalTransportIP::OpalTransportIP | ( | OpalEndPoint & | endpoint, | |
| PIPSocket::Address | binding, | |||
| WORD | port | |||
| ) |
Create a new transport channel.
| endpoint | Endpoint object |
| binding | Local interface to use |
| port | Local port to bind to |
| OpalTransportIP::OpalTransportIP | ( | OpalEndPoint & | endpoint, | |
| PIPSocket::Address | binding, | |||
| WORD | port | |||
| ) |
Create a new transport channel.
| endpoint | Endpoint object |
| binding | Local interface to use |
| port | Local port to bind to |
| virtual OpalTransportAddress OpalTransportIP::GetLocalAddress | ( | ) | const [virtual] |
Get the transport dependent name of the local endpoint.
Implements OpalTransport.
Reimplemented in OpalTransportUDP.
| virtual PBoolean OpalTransportIP::SetLocalAddress | ( | const OpalTransportAddress & | address | ) | [virtual] |
Set local address to connect from. Note that this may not work for all transport types or may work only before Connect() has been called.
Implements OpalTransport.
Reimplemented in OpalTransportUDP.
| virtual OpalTransportAddress OpalTransportIP::GetRemoteAddress | ( | ) | const [virtual] |
Get the transport dependent name of the remote endpoint.
Implements OpalTransport.
| virtual PBoolean OpalTransportIP::SetRemoteAddress | ( | const OpalTransportAddress & | address | ) | [virtual] |
Set remote address to connect to. Note that this does not necessarily initiate a transport level connection, but only indicates where to connect to. The actual connection is made by the Connect() function.
Implements OpalTransport.
Reimplemented in OpalTransportUDP.
| virtual const char* OpalTransportIP::GetProtoPrefix | ( | ) | const [protected, pure virtual] |
Get the prefix for this transports protocol type.
Implements OpalTransport.
Implemented in OpalTransportTCP, and OpalTransportUDP.
PIPSocket::Address OpalTransportIP::localAddress [protected] |
WORD OpalTransportIP::localPort [protected] |
PIPSocket::Address OpalTransportIP::remoteAddress [protected] |
WORD OpalTransportIP::remotePort [protected] |
1.5.1