#include <SecureTCPSocket.hh>
Public Member Functions | |
SecureTCPSocket () | |
virtual | ~SecureTCPSocket () |
virtual void | send (const unsigned char *, size_t) throw (NetworkError, NetworkSignal) |
virtual void | receive (void *Buffer, unsigned long Size) throw (NetworkError, NetworkSignal) |
virtual bool | isDataReady () const |
const char * | getPeerName () |
Private Attributes | |
char * | PeerName |
Definition at line 40 of file SecureTCPSocket.hh.
SecureTCPSocket | ( | ) |
~SecureTCPSocket | ( | ) | [virtual] |
void send | ( | const unsigned char * | buffer, | |
size_t | size | |||
) | throw (NetworkError, NetworkSignal) [virtual] |
Reimplemented from SocketTCP.
Definition at line 71 of file SecureTCPSocket.cc.
References certi::D, PrettyDebug::Out(), pdTrace, and SocketTCP::send().
void receive | ( | void * | Buffer, | |
unsigned long | Size | |||
) | throw (NetworkError, NetworkSignal) [virtual] |
Reimplemented from SocketTCP.
Definition at line 161 of file SecureTCPSocket.cc.
References certi::D, PrettyDebug::Out(), pdTrace, and SocketTCP::receive().
virtual bool isDataReady | ( | ) | const [inline, virtual] |
Return RTI_TRUE if any data as already been read from the system socket and is waiting in the internal buffer, else RTI_FALSE.
Reimplemented from SocketTCP.
Definition at line 53 of file SecureTCPSocket.hh.
References SocketTCP::isDataReady().
const char * getPeerName | ( | ) |
Definition at line 144 of file SecureTCPSocket.cc.
References SecureTCPSocket::PeerName.
Referenced by SecurityServer::canFederateAccessData().
char* PeerName [private] |
Definition at line 90 of file SecureTCPSocket.hh.
Referenced by SecureTCPSocket::getPeerName(), SecureTCPSocket::SecureTCPSocket(), and SecureTCPSocket::~SecureTCPSocket().