version 1.6, 2003/08/15 14:10:29
|
version 1.12.8.1, 2006/02/10 16:11:50
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// The Open Group, Tivoli Systems |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
// Author: Dong Xiang, EMC Corporation (xiang_dong@emc.com) | // Author: Dong Xiang, EMC Corporation (xiang_dong@emc.com) |
// | // |
// Modified By: |
// Modified By: David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3604 |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
class SSLContext; | class SSLContext; |
class CIMIndicationConsumer; | class CIMIndicationConsumer; |
| |
|
|
|
/** CIMListener provides the interfaces that allows CIMListeners to be |
|
created and managed. CIMListeners are the receivers for cim/xml indications. |
|
ATTN: KS needs to be completed.TBD |
|
*/ |
class PEGASUS_LISTENER_LINKAGE CIMListener | class PEGASUS_LISTENER_LINKAGE CIMListener |
{ | { |
public: | public: |
|
|
* @param sslContext the specifed SSL context | * @param sslContext the specifed SSL context |
*/ | */ |
CIMListener(Uint32 portNumber, SSLContext* sslContext=NULL); | CIMListener(Uint32 portNumber, SSLContext* sslContext=NULL); |
|
|
/** | /** |
* Destructor of a CIMLIstener object. | * Destructor of a CIMLIstener object. |
*/ | */ |
|
|
* @return true if the listener is active; | * @return true if the listener is active; |
* false otherwise. | * false otherwise. |
*/ | */ |
Boolean isAlive(); |
Boolean isAlive() const; |
| |
/** | /** |
* Adds a CIMIndicationConsumer to the listener | * Adds a CIMIndicationConsumer to the listener |
* | * |
* @param the CIMIndicationConsumer to add. |
* @param consumer the CIMIndicationConsumer to add. |
* @return true if the indication consumer has been added successfully | * @return true if the indication consumer has been added successfully |
* false otherwise. | * false otherwise. |
*/ | */ |
Boolean addConsumer(CIMIndicationConsumer* consumer); | Boolean addConsumer(CIMIndicationConsumer* consumer); |
|
|
/** | /** |
* Removes a CIMIndicationConsumer from the listener. | * Removes a CIMIndicationConsumer from the listener. |
* | * |
|
|
Boolean removeConsumer(CIMIndicationConsumer* consumer); | Boolean removeConsumer(CIMIndicationConsumer* consumer); |
| |
private: | private: |
|
/* |
|
* Copy constructor - not implemented |
|
*/ |
|
CIMListener(const CIMListener &); |
|
|
|
/* |
|
* Assignment operator - not implemented |
|
*/ |
|
CIMListener &operator=(const CIMListener &); |
|
|
|
/* |
|
* rep object |
|
*/ |
void* _rep; | void* _rep; |
}; | }; |
| |