Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

MPS::InetTransport::InetDemux Class Reference

Inheritance diagram for MPS::InetTransport::InetDemux:

Inheritance graph
[legend]
Collaboration diagram for MPS::InetTransport::InetDemux:

Collaboration graph
[legend]
List of all members.

Public Types

typedef map< int, ref<InetConnection> > connectionMap_t

Public Methods

 InetDemux (ref< ClientSocketDescriptor > const &_clientSock)
 InetDemux (ref< ServerSocketDescriptor > const &serverSock)
string const& getAddress () const
ref<InetConnectionconnectionForOid (int oid, Address const &address)

Private Methods

void processEvent (ref< FileDescriptor > const &desc)
void acceptConnection (ref< FileDescriptor > const &desc)
void registerFd (ref< FileDescriptor > const &fd)

Private Attributes

connectionMap_t connectionMap
string canonicalAddress
ref<ClientSocketDescriptorclientSock

Member Typedef Documentation

typedef map< int, ref< InetConnection > > MPS::InetTransport::InetDemux::connectionMap_t< int, ref<InetConnection> >
 

Map of OID -> Connection.

Definition at line 152 of file InetTransport.cc.


Constructor & Destructor Documentation

MPS::InetTransport::InetDemux::InetDemux ( ref< ClientSocketDescriptor > const & _clientSock ) [inline]
 

Client demux.

Definition at line 220 of file InetTransport.cc.

MPS::InetTransport::InetDemux::InetDemux ( ref< ServerSocketDescriptor > const & serverSock ) [inline]
 

Server demux.

Definition at line 232 of file InetTransport.cc.


Member Function Documentation

void MPS::InetTransport::InetDemux::acceptConnection ( ref< FileDescriptor > const & desc ) [inline, private]
 

Definition at line 202 of file InetTransport.cc.

ref< InetConnection > MPS::InetTransport::InetDemux::connectionForOid<InetConnection> ( int oid,
Address const & address ) [inline]
 

Definition at line 246 of file InetTransport.cc.

string const & MPS::InetTransport::InetDemux::getAddress ( ) const [inline]
 

Definition at line 244 of file InetTransport.cc.

void MPS::InetTransport::InetDemux::processEvent ( ref< FileDescriptor > const & desc ) [inline, private]
 

Definition at line 159 of file InetTransport.cc.

void MPS::InetTransport::InetDemux::registerFd ( ref< FileDescriptor > const & fd ) [inline, private]
 

Definition at line 212 of file InetTransport.cc.


Member Data Documentation

string MPS::InetTransport::InetDemux::canonicalAddress [private]
 

Definition at line 156 of file InetTransport.cc.

ref<ClientSocketDescriptor> MPS::InetTransport::InetDemux::clientSock [private]
 

Definition at line 157 of file InetTransport.cc.

connectionMap_t MPS::InetTransport::InetDemux::connectionMap [private]
 

Definition at line 155 of file InetTransport.cc.


The documentation for this class was generated from the following file:
Generated at Wed Aug 15 01:05:29 2001 for mps-cpp by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001