public class WBEMProtocol
extends java.lang.Object
iTransport != null
iPresentation != null
Constructor | Description |
---|---|
WBEMProtocol(java.lang.String pTransport,
java.lang.String pPresentation) |
Ctor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object pObj) |
|
java.lang.String |
getPresentation() |
Returns the presentation protocol (e.g.
|
java.lang.String |
getTransport() |
Returns transport protocol (e.g.
|
int |
hashCode() |
|
void |
setPresentation(java.lang.String pPresentation) |
Sets the presentation protocol
|
void |
setTransport(java.lang.String pTransport) |
Sets the transport protocol
|
java.lang.String |
toString() |
public WBEMProtocol(java.lang.String pTransport, java.lang.String pPresentation)
pTransport
- The transport protocol (e.g. HTTP, HTTPS, RMI)pPresentation
- The presentation protocol (e.g. CIM-XML)public java.lang.String getPresentation()
public void setPresentation(java.lang.String pPresentation)
pPresentation
- The new value (e.g. CIM-XML)public java.lang.String getTransport()
public void setTransport(java.lang.String pTransport)
pTransport
- The new value (e.g. HTTP).public boolean equals(java.lang.Object pObj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.