version 1.16, 2008/12/02 09:01:43
|
version 1.17, 2015/06/10 12:36:02
|
|
|
#define Pegasus_Listener_h | #define Pegasus_Listener_h |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
#include <Pegasus/Common/String.h> |
#include <Pegasus/Listener/Linkage.h> | #include <Pegasus/Listener/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
/** | /** |
* Constructs a CIMListener object. | * Constructs a CIMListener object. |
* | * |
|
* @param address the specified address to be bound to |
|
* @param portNumber the specified socket port the listener will listen to |
|
* @param sslContext the specifed SSL context |
|
*/ |
|
CIMListener( |
|
const String &listenAddress, |
|
Uint32 portNumber, |
|
SSLContext* sslContext=NULL); |
|
|
|
/** |
|
* Constructs a CIMListener object. |
|
* |
* @param portNumber the specified socket port the listener will listen to | * @param portNumber the specified socket port the listener will listen to |
* @param sslContext the specifed SSL context | * @param sslContext the specifed SSL context |
*/ | */ |
|
|
~CIMListener(); | ~CIMListener(); |
| |
/** | /** |
|
* Returns the bind address. |
|
* |
|
* @return the bind address. |
|
*/ |
|
String getListenAddress() const; |
|
|
|
/** |
* Returns the socket port number | * Returns the socket port number |
* | * |
* @return the socket port number. | * @return the socket port number. |