version 1.6, 2002/10/17 17:56:23
|
version 1.7, 2003/03/11 21:26:54
|
|
|
const String& rootPath, | const String& rootPath, |
Boolean dynamicReg, | Boolean dynamicReg, |
Boolean staticConsumers, | Boolean staticConsumers, |
Boolean persistence) |
Boolean persistence, |
|
Uint32 portNumber) |
: _dieNow(false), _rootPath(rootPath), | : _dieNow(false), _rootPath(rootPath), |
_dynamicReg(dynamicReg), | _dynamicReg(dynamicReg), |
_staticConsumers(staticConsumers), | _staticConsumers(staticConsumers), |
_persistence(persistence) |
_persistence(persistence), |
|
_portNumber(portNumber) |
{ | { |
PEG_METHOD_ENTER(TRC_SERVER, "CIMListener::CIMListener()"); | PEG_METHOD_ENTER(TRC_SERVER, "CIMListener::CIMListener()"); |
| |
|
|
| |
SSLContext * sslcontext = NULL; | SSLContext * sslcontext = NULL; |
| |
_acceptor = new HTTPAcceptor(_monitor, _cimExportRequestDecoder, sslcontext); |
_acceptor = new HTTPAcceptor(_monitor, _cimExportRequestDecoder, false, portNumber, sslcontext); |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
|
|
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
| |
void CIMListener::bind(Uint32 port) |
void CIMListener::bind() |
{ | { |
PEG_METHOD_ENTER(TRC_SERVER, "CIMListener::bind()"); | PEG_METHOD_ENTER(TRC_SERVER, "CIMListener::bind()"); |
| |
// not the best place to build the service url, but it works for now |
_acceptor->bind(); |
// because the address string is accessible mdday |
|
|
|
_acceptor->bind(port); |
|
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |