Class WBEMProtocol

java.lang.Object
org.sblim.cimclient.discovery.WBEMProtocol

public class WBEMProtocol extends Object
Class WBEMProtocol encapsulates a transport/presentation protocol pair. E.g. "HTTPS/CIM-XML"
Since:
2.0.2
Invariants:
iTransport != null
iPresentation != null
  • Constructor Details

    • 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 Details

    • getPresentation

      public String getPresentation()
      Returns the presentation protocol (e.g. CIM-XML)
      Returns:
      The value.
    • setPresentation

      public void setPresentation(String pPresentation)
      Sets the presentation protocol
      Parameters:
      pPresentation - The new value (e.g. CIM-XML)
    • getTransport

      public String getTransport()
      Returns transport protocol (e.g. HTTP)
      Returns:
      The value.
    • setTransport

      public void setTransport(String pTransport)
      Sets the transport protocol
      Parameters:
      pTransport - The new value (e.g. HTTP).
    • equals

      public boolean equals(Object pObj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object