Package com.caucho.hessian.io
Class HessianRemote
- java.lang.Object
-
- com.caucho.hessian.io.HessianRemote
-
- All Implemented Interfaces:
java.io.Serializable
public class HessianRemote extends java.lang.Object implements java.io.SerializableEncapsulates a remote address when no stub is available, e.g. for Java MicroEdition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HessianRemote()Creates an uninitialized Hessian remote.HessianRemote(java.lang.String type, java.lang.String url)Creates a new Hessian remote object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Defines equalityjava.lang.StringgetType()Returns the remote api class name.java.lang.StringgetURL()Returns the remote URL.inthashCode()Defines the hashcode.voidsetURL(java.lang.String url)Sets the remote URL.java.lang.StringtoString()Readable version of the remote.
-
-
-
Method Detail
-
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.- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Defines equality- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
Readable version of the remote.- Overrides:
toStringin classjava.lang.Object
-
-