#include <OW_CIMProtocolIFC.hpp>
Inheritance diagram for OW_NAMESPACE::CIMProtocolIFC:


Public Types | |
| enum | ERequestType { E_CIM_OPERATION_REQUEST, E_CIM_EXPORT_REQUEST, E_CIM_BATCH_OPERATION_REQUEST, E_CIM_BATCH_EXPORT_REQUEST, E_CIM_OPERATION_RESPONSE, E_CIM_EXPORT_RESPONSE } |
| These request types correspond to the various types of operations identified in the CIM Operations Over HTTP 1.1 Sec. More... | |
Public Member Functions | |
| virtual | ~CIMProtocolIFC () |
| virtual Reference< std::iostream > | beginRequest (const String &methodName, const String &nameSpace)=0 |
| virtual CIMProtocolIStreamIFCRef | endRequest (const Reference< std::iostream > &request, const String &methodName, const String &cimObject, ERequestType requestType, const String &cimProtocolVersion)=0 |
| Establishes a connection (if not already connected) to the CIMOM and sends a request. | |
| virtual CIMFeatures | getFeatures ()=0 |
| Get the supported features of a CIMOM. | |
| void | setLoginCallBack (const ClientAuthCBIFCRef &loginCB) |
| Assigns a login callback object. | |
| void | setContentType (const String &ct) |
| virtual SocketAddress | getLocalAddress () const =0 |
| Gets the address of the local machine. | |
| virtual SocketAddress | getPeerAddress () const =0 |
| Gets the address of the peer connection. | |
| virtual void | close ()=0 |
| Close the connetion to the CIMOM. | |
| virtual void | setReceiveTimeout (int seconds)=0 |
| Set the receive timeout on the socket. | |
| virtual int | getReceiveTimeout () const =0 |
| Get the receive timeout. | |
| virtual void | setSendTimeout (int seconds)=0 |
| Set the send timeout on the socket. | |
| virtual int | getSendTimeout () const =0 |
| Get the send timeout. | |
| virtual void | setConnectTimeout (int seconds)=0 |
| Set the connect timeout on the socket. | |
| virtual int | getConnectTimeout () const =0 |
| Get the connect timeout. | |
| virtual void | setTimeouts (int seconds)=0 |
| Set all timeouts (send, receive, connect). | |
Static Public Attributes | |
| static const int | INFINITE_TIMEOUT = -1 |
Protected Attributes | |
| ClientAuthCBIFCRef | m_loginCB |
| String | m_contentType |
Definition at line 57 of file OW_CIMProtocolIFC.hpp.
|
|
These request types correspond to the various types of operations identified in the CIM Operations Over HTTP 1.1 Sec. 3
Definition at line 68 of file OW_CIMProtocolIFC.hpp. |
|
|
Definition at line 43 of file OW_CIMProtocolIFC.cpp. |
|
||||||||||||
|
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Close the connetion to the CIMOM. This will free resources used for the client session. Implemented in OW_NAMESPACE::HTTPClient. |
|
||||||||||||||||||||||||
|
Establishes a connection (if not already connected) to the CIMOM and sends a request. An istream& is returned containing the response from the CIMOM, after protocol processing is done.
|
|
|
Get the connect timeout.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Get the supported features of a CIMOM.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Gets the address of the local machine.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Gets the address of the peer connection.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Get the receive timeout.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Get the send timeout.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Set the connect timeout on the socket.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Definition at line 116 of file OW_CIMProtocolIFC.hpp. |
|
|
Assigns a login callback object.
Definition at line 114 of file OW_CIMProtocolIFC.hpp. |
|
|
Set the receive timeout on the socket.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Set the send timeout on the socket.
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Set all timeouts (send, receive, connect).
Implemented in OW_NAMESPACE::HTTPClient. |
|
|
Reimplemented in OW_NAMESPACE::HTTPClient. Definition at line 135 of file OW_CIMProtocolIFC.hpp. |
|
|
Definition at line 185 of file OW_CIMProtocolIFC.hpp. |
|
|
Definition at line 179 of file OW_CIMProtocolIFC.hpp. Referenced by OW_NAMESPACE::HTTPClient::getCredentialsIfNecessary(). |
1.4.6