org.sblim.cimclient.discovery

Class WBEMProtocol

public class WBEMProtocol extends Object

Class WBEMProtocol encapsulates a transport/presentation protocol pair. E.g. "HTTPS/CIM-XML"

Since: 2.0.2

UNKNOWN: iTransport != null
iPresentation != null

Constructor Summary
WBEMProtocol(String pTransport, String pPresentation)
Ctor.
Method Summary
booleanequals(Object pObj)
StringgetPresentation()
Returns the presentation protocol (e.g.
StringgetTransport()
Returns transport protocol (e.g.
inthashCode()
voidsetPresentation(String pPresentation)
Sets the presentation protocol
voidsetTransport(String pTransport)
Sets the transport protocol
StringtoString()

Constructor Detail

WBEMProtocol

public WBEMProtocol(String pTransport, String pPresentation)
Ctor.

Parameters: pTransport The transport protocol (e.g. HTTP, HTTPS, RMI) pPresentation The presentation protocol (e.g. CIM-XML)

Method Detail

equals

public boolean equals(Object pObj)

getPresentation

public String getPresentation()
Returns the presentation protocol (e.g. CIM-XML)

Returns: The value.

getTransport

public String getTransport()
Returns transport protocol (e.g. HTTP)

Returns: The value.

hashCode

public int hashCode()

setPresentation

public void setPresentation(String pPresentation)
Sets the presentation protocol

Parameters: pPresentation The new value (e.g. CIM-XML)

setTransport

public void setTransport(String pTransport)
Sets the transport protocol

Parameters: pTransport The new value (e.g. HTTP).

toString

public String toString()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.