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

IServer Struct Reference

Inheritance diagram for IServer:

AbstractServer CacheServer ClusterServer HttpServer List of all members.

Public Member Functions

char[] getRemoteAddress (IConduit conduit)
char[] getRemoteHost (IConduit conduit)
char[] getProtocol ()
int getPort ()
char[] getHost ()

Detailed Description

Contract to be fulfilled by all Mango servers.

Definition at line 48 of file IServer.d.


Member Function Documentation

char [] getRemoteAddress IConduit  conduit  ) 
 

Provide support for figuring out the remote address

Reimplemented in AbstractServer.

Referenced by HttpRequest::getRemoteAddr().

char [] getRemoteHost IConduit  conduit  ) 
 

Provide support for figuring out the remote host.

Reimplemented in AbstractServer.

Referenced by HttpRequest::getRemoteHost().

char [] getProtocol  ) 
 

Return the protocol in use.

Reimplemented in ClusterServer, CacheServer, and HttpServer.

Referenced by HttpRequest::getServerScheme().

int getPort  ) 
 

Return the local port we're attached to

Reimplemented in AbstractServer.

Referenced by HttpRequest::getPort().

char [] getHost  ) 
 

Return the local address we're attached to

Reimplemented in AbstractServer.

Referenced by HttpRequest::getHost().


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