Class BurlapRemote

java.lang.Object
com.caucho.burlap.io.BurlapRemote

public class BurlapRemote extends Object
Encapsulates a remote address when no stub is available, e.g. for Java MicroEdition.
  • Constructor Details

    • BurlapRemote

      public BurlapRemote(String type, String url)
      Creates a new Burlap remote object.
      Parameters:
      type - the remote stub interface
      url - the remote url
    • BurlapRemote

      public BurlapRemote()
      Creates an uninitialized Burlap remote.
  • Method Details

    • getType

      public String getType()
      Returns the remote api class name.
    • getURL

      public String getURL()
      Returns the remote URL.
    • setURL

      public void setURL(String url)
      Sets the remote URL.
    • hashCode

      public int hashCode()
      Defines the hashcode.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Defines equality
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Readable version of the remote.
      Overrides:
      toString in class Object