version 1.10, 2004/08/12 10:47:45
|
version 1.11, 2004/08/12 13:13:52
|
|
|
// Mike Day, IBM (mdday@us.ibm.com) | // Mike Day, IBM (mdday@us.ibm.com) |
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) | // Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
// Seema Gupta, (gseema@in.ibm.com for PEP135) | // Seema Gupta, (gseema@in.ibm.com for PEP135) |
// Alagaraja Ramasubramanian (alags_raj@in.ibm.com) for Bug#1090 |
// Amit K Arora, IBM (amita@in.ibm.com) for Bug#1090 |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
} | } |
} | } |
| |
#ifdef PEGASUS_OS_OS400 |
|
InternalCIMOMHandleRep::InternalCIMOMHandleRep(Uint32 os400UserStateKey) |
|
: MessageQueue(PEGASUS_QUEUENAME_INTERNALCLIENT), |
|
_chOS400(os400UserStateKey) |
|
{ |
|
} |
|
|
|
void InternalCIMOMHandleRep::setOS400ProfileHandle(const char* profileHandle) |
|
{ |
|
memcpy(os400PH, profileHandle, 12); |
|
} |
|
#endif |
|
|
|
// Private, unimplemented copy constructor | // Private, unimplemented copy constructor |
InternalCIMOMHandleRep::InternalCIMOMHandleRep( | InternalCIMOMHandleRep::InternalCIMOMHandleRep( |
const InternalCIMOMHandleRep& rep) | const InternalCIMOMHandleRep& rep) |
: MessageQueue(PEGASUS_QUEUENAME_INTERNALCLIENT) |
: CIMOMHandleRep(), |
|
MessageQueue(PEGASUS_QUEUENAME_INTERNALCLIENT) |
{ | { |
PEGASUS_ASSERT(0); | PEGASUS_ASSERT(0); |
} | } |
|
|
} | } |
| |
#ifdef PEGASUS_OS_OS400 | #ifdef PEGASUS_OS_OS400 |
|
InternalCIMOMHandleRep::InternalCIMOMHandleRep(Uint32 os400UserStateKey) |
|
: MessageQueue(PEGASUS_QUEUENAME_INTERNALCLIENT), |
|
_chOS400(os400UserStateKey) |
|
{ |
|
} |
|
|
|
void InternalCIMOMHandleRep::setOS400ProfileHandle(const char* profileHandle) |
|
{ |
|
memcpy(os400PH, profileHandle, 12); |
|
} |
|
#endif |
|
|
|
#ifdef PEGASUS_OS_OS400 |
InternalCIMOMHandleRep::InternalCIMOMHandleRep(Uint32 os400key) | InternalCIMOMHandleRep::InternalCIMOMHandleRep(Uint32 os400key) |
: MessageQueue(PEGASUS_QUEUENAME_INTERNALCLIENT), | : MessageQueue(PEGASUS_QUEUENAME_INTERNALCLIENT), |
_chOS400(os400key) | _chOS400(os400key) |
|
|
{ | { |
AutoMutex autoMut(_qid_mutex); | AutoMutex autoMut(_qid_mutex); |
Uint32 qid = _output_qid; | Uint32 qid = _output_qid; |
|
|
return qid; | return qid; |
} | } |
catch (...) | catch (...) |
|
|
{ | { |
AutoMutex autoMut(_qid_mutex); | AutoMutex autoMut(_qid_mutex); |
_output_qid = qid; | _output_qid = qid; |
|
|
} | } |
catch (...) | catch (...) |
{ | { |
|
|
{ | { |
AutoMutex autoMut(_qid_mutex); | AutoMutex autoMut(_qid_mutex); |
Uint32 qid = _return_qid; | Uint32 qid = _return_qid; |
|
|
return qid; | return qid; |
} | } |
catch (...) | catch (...) |
|
|
{ | { |
AutoMutex autoMut(_qid_mutex); | AutoMutex autoMut(_qid_mutex); |
_return_qid = qid; | _return_qid = qid; |
|
|
} | } |
catch (...) | catch (...) |
{ | { |