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
Collaboration diagram for MPS::InetTransport::InetDemux:

Collaboration graph
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

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

Constructor & Destructor Documentation

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

Client demux.

Definition at line 220 of file

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

Server demux.

Definition at line 232 of file

Member Function Documentation

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

Definition at line 202 of file

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

Definition at line 246 of file

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

Definition at line 244 of file

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

Definition at line 159 of file

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

Definition at line 212 of file

Member Data Documentation

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

Definition at line 156 of file

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

Definition at line 157 of file

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

Definition at line 155 of file

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