Classes | |
struct | aesop::host_rec_t |
single struct that contains all (exposed) remote host state More... | |
class | aesop::HostManager |
Object that helps the server manage host connections. More... | |
Functions | |
void | aesop::host_rec_t::clear (void) throw () |
bool | aesop::host_rec_t::isValid (void) const throw () |
virtual | aesop::HostManager::~HostManager (void) throw () |
virtual void | aesop::HostManager::addHost (IN conn_id_t udpConnID, IN long udpToken, IN const char *publicKey)=0 |
virtual bool | aesop::HostManager::getHostByUdpConnectionID (IN conn_id_t udpConnId, OUT host_rec_t &hr)=0 |
This is the most efficient lookup (by UDP connection ID). | |
virtual bool | aesop::HostManager::getHostByTcpConnectionID (IN conn_id_t tcpConnId, OUT host_rec_t &hr)=0 |
virtual void | aesop::HostManager::updateHost (IN host_rec_t &hr)=0 |
virtual bool | aesop::HostManager::removeHost (IN conn_id_t hostId)=0 |
virtual void | aesop::HostManager::getIterator (OUT iterator_t &iterator)=0 |
requests a new iterator. | |
virtual bool | aesop::HostManager::getNextHost (IO iterator_t &iterator, OUT host_rec_t &hr)=0 |
returns the host for this iteration, and increments iterator | |
static smart_ptr< HostManager > | aesop::HostManager::create (IN int udpSize) |
Variables | |
eHostMode | aesop::host_rec_t::mode |
int | aesop::host_rec_t::udpPort |
conn_id_t | aesop::host_rec_t::udpConn |
conn_id_t | aesop::host_rec_t::tcpConn |
long | aesop::host_rec_t::udpToken |
dword_t | aesop::host_rec_t::lastUdpReceived |
smart_ptr< crypto::RSAPublicKey > | aesop::host_rec_t::publicKey |
smart_ptr< crypto::DESKey > | aesop::host_rec_t::desKey |
smart_ptr< xdrbuf::Output > | aesop::host_rec_t::outbuf |
smart_ptr< netrq::Queue > | aesop::host_rec_t::netQueue |
void aesop::host_rec_t::clear | ( | void | ) | throw () [inline, inherited] |
Definition at line 60 of file srv-hosts.h.
bool aesop::host_rec_t::isValid | ( | void | ) | const throw () [inline, inherited] |
Definition at line 72 of file srv-hosts.h.
aesop::HostManager::~HostManager | ( | void | ) | throw () [virtual, inherited] |
Definition at line 44 of file srv-hosts.cpp.
virtual void aesop::HostManager::addHost | ( | IN conn_id_t | udpConnID, | |
IN long | udpToken, | |||
IN const char * | publicKey | |||
) | [pure virtual, inherited] |
udpToken | client's UDP token |
virtual bool aesop::HostManager::getHostByUdpConnectionID | ( | IN conn_id_t | udpConnId, | |
OUT host_rec_t & | hr | |||
) | [pure virtual, inherited] |
This is the most efficient lookup (by UDP connection ID).
virtual bool aesop::HostManager::getHostByTcpConnectionID | ( | IN conn_id_t | tcpConnId, | |
OUT host_rec_t & | hr | |||
) | [pure virtual, inherited] |
virtual void aesop::HostManager::updateHost | ( | IN host_rec_t & | hr | ) | [pure virtual, inherited] |
virtual bool aesop::HostManager::removeHost | ( | IN conn_id_t | hostId | ) | [pure virtual, inherited] |
virtual void aesop::HostManager::getIterator | ( | OUT iterator_t & | iterator | ) | [pure virtual, inherited] |
requests a new iterator.
virtual bool aesop::HostManager::getNextHost | ( | IO iterator_t & | iterator, | |
OUT host_rec_t & | hr | |||
) | [pure virtual, inherited] |
returns the host for this iteration, and increments iterator
smart_ptr< HostManager > aesop::HostManager::create | ( | IN int | udpSize | ) | [static, inherited] |
Definition at line 315 of file srv-hosts.cpp.
eHostMode aesop::host_rec_t::mode [inherited] |
Definition at line 84 of file srv-hosts.h.
int aesop::host_rec_t::udpPort [inherited] |
Definition at line 85 of file srv-hosts.h.
conn_id_t aesop::host_rec_t::udpConn [inherited] |
Definition at line 86 of file srv-hosts.h.
conn_id_t aesop::host_rec_t::tcpConn [inherited] |
Definition at line 87 of file srv-hosts.h.
long aesop::host_rec_t::udpToken [inherited] |
Definition at line 88 of file srv-hosts.h.
dword_t aesop::host_rec_t::lastUdpReceived [inherited] |
Definition at line 89 of file srv-hosts.h.
smart_ptr<crypto::RSAPublicKey> aesop::host_rec_t::publicKey [inherited] |
Definition at line 90 of file srv-hosts.h.
smart_ptr<crypto::DESKey> aesop::host_rec_t::desKey [inherited] |
Definition at line 91 of file srv-hosts.h.
smart_ptr<xdrbuf::Output> aesop::host_rec_t::outbuf [inherited] |
Definition at line 92 of file srv-hosts.h.
smart_ptr<netrq::Queue> aesop::host_rec_t::netQueue [inherited] |
Definition at line 93 of file srv-hosts.h.