Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

IProviderBridge Struct Reference

Inheritance diagram for IProviderBridge:

HttpBridge List of all members.

Public Member Functions

IServer getServer ()
IProvider getProvider ()
void cross (IConduit conduit)

Detailed Description

Bridges between an IProvider and an IServer, and maintains a set of data specific to each thread. There is only one instance of server and provider, but multiple live instances of IProviderBridge (there is one per server-thread).

Any additional thread-specific data should probably be maintained via this interface.

Definition at line 56 of file IProviderBridge.d.


Member Function Documentation

IServer getServer  ) 
 

Return the server from one side of this bridge

Reimplemented in HttpBridge.

Referenced by HttpRequest::getHost(), HttpRequest::getPort(), HttpRequest::getRemoteAddr(), HttpRequest::getRemoteHost(), and HttpRequest::getServerScheme().

IProvider getProvider  ) 
 

Return the provider from the other side of the bridge

Reimplemented in HttpBridge.

void cross IConduit  conduit  ) 
 

Bridge the divide between IServer and IProvider instances. Note that there is one instance of this class per thread.

Reimplemented in HttpBridge.

Referenced by HttpServer::service().


The documentation for this struct was generated from the following file:
Generated on Sun Nov 7 19:07:06 2004 for Mango by doxygen 1.3.6