com.caucho.burlap.io
类 BurlapRemote

java.lang.Object
  继承者 com.caucho.burlap.io.BurlapRemote

public class BurlapRemote
extends java.lang.Object

Encapsulates a remote address when no stub is available, e.g. for Java MicroEdition.


构造方法摘要
BurlapRemote()
          Creates an uninitialized Burlap remote.
BurlapRemote(java.lang.String type, java.lang.String url)
          Creates a new Burlap remote object.
 
方法摘要
 boolean equals(java.lang.Object obj)
          Defines equality
 java.lang.String getType()
          Returns the remote api class name.
 java.lang.String getURL()
          Returns the remote URL.
 int hashCode()
          Defines the hashcode.
 void setURL(java.lang.String url)
          Sets the remote URL.
 java.lang.String toString()
          Readable version of the remote.
 
从类 java.lang.Object 继承的方法
getClass, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

BurlapRemote

public BurlapRemote(java.lang.String type,
                    java.lang.String url)
Creates a new Burlap remote object.

参数:
type - the remote stub interface
url - the remote url

BurlapRemote

public BurlapRemote()
Creates an uninitialized Burlap remote.

方法详细信息

getType

public java.lang.String getType()
Returns the remote api class name.


getURL

public java.lang.String getURL()
Returns the remote URL.


setURL

public void setURL(java.lang.String url)
Sets the remote URL.


hashCode

public int hashCode()
Defines the hashcode.

覆盖:
java.lang.Object 中的 hashCode

equals

public boolean equals(java.lang.Object obj)
Defines equality

覆盖:
java.lang.Object 中的 equals

toString

public java.lang.String toString()
Readable version of the remote.

覆盖:
java.lang.Object 中的 toString