Package org.sblim.cimclient.discovery
Class WBEMProtocol
java.lang.Object
org.sblim.cimclient.discovery.WBEMProtocol
Class WBEMProtocol encapsulates a transport/presentation protocol pair. E.g.
"HTTPS/CIM-XML"
- Since:
- 2.0.2
- Invariants:
iTransport != null
iPresentation != null
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the presentation protocol (e.g.Returns transport protocol (e.g.int
hashCode()
void
setPresentation
(String pPresentation) Sets the presentation protocolvoid
setTransport
(String pTransport) Sets the transport protocoltoString()
-
Constructor Details
-
WBEMProtocol
Ctor.- Parameters:
pTransport
- The transport protocol (e.g. HTTP, HTTPS, RMI)pPresentation
- The presentation protocol (e.g. CIM-XML)
-
-
Method Details
-
getPresentation
Returns the presentation protocol (e.g. CIM-XML)- Returns:
- The value.
-
setPresentation
Sets the presentation protocol- Parameters:
pPresentation
- The new value (e.g. CIM-XML)
-
getTransport
Returns transport protocol (e.g. HTTP)- Returns:
- The value.
-
setTransport
Sets the transport protocol- Parameters:
pTransport
- The new value (e.g. HTTP).
-
equals
-
hashCode
public int hashCode() -
toString
-