|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--br.shob.HostId
Encapsulates all the information needed to communicate with a host.
Constructor Summary | |
protected |
HostId()
Creates new HostId |
|
HostId(URL url,
PublicKey key)
constructs a new instance of a HostId object. |
Method Summary | |
PublicKey |
getKey()
accessor for the public key of the host. |
URL |
getURL()
accessor for the URL of the host. |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HostId(URL url, PublicKey key)
HostId
object.
url
- the URL of the host.key
- the public key for this host.protected HostId()
Method Detail |
public PublicKey getKey()
public URL getURL()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |