com.caucho.hessian.io
Class HessianRemote
java.lang.Object
com.caucho.hessian.io.HessianRemote
public class HessianRemote
extends java.lang.Object
Encapsulates a remote address when no stub is available, e.g. for
Java MicroEdition.
private String | type
|
private String | url
|
HessianRemote() - Creates an uninitialized Hessian remote.
|
HessianRemote(String type, String url) - Creates a new Hessian remote object.
|
boolean | equals(Object obj) - Defines equality
|
String | getType() - Returns the remote api class name.
|
String | getURL() - Returns the remote URL.
|
int | hashCode() - Defines the hashcode.
|
void | setURL(String url) - Sets the remote URL.
|
String | toString() - Readable version of the remote.
|
HessianRemote
public HessianRemote()
Creates an uninitialized Hessian remote.
HessianRemote
public HessianRemote(String type,
String url)
Creates a new Hessian remote object.
type
- the remote stub interfaceurl
- the remote url
equals
public boolean equals(Object obj)
Defines equality
getType
public String getType()
Returns the remote api class name.
getURL
public String getURL()
Returns the remote URL.
hashCode
public int hashCode()
Defines the hashcode.
setURL
public void setURL(String url)
Sets the remote URL.
toString
public String toString()
Readable version of the remote.