|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.kernel.Endpoint
public class Endpoint
The address of a listen port or communication endpoint.
| Field Summary | |
|---|---|
int |
port
A port number, aka index in the AOS API specification |
java.lang.String |
scid
A self-certifying ID (a SHA-1 hash), or null if omitted. |
java.net.InetSocketAddress |
tcpIP
An IP address (IPv6) and a TCP port number. |
| Constructor Summary | |
|---|---|
Endpoint(java.net.InetSocketAddress tcpIP,
int port,
java.lang.String scid)
|
|
Endpoint(java.io.StreamTokenizer st)
Creates a new instance of Endpoint |
|
| Method Summary | |
|---|---|
java.lang.String |
marshall()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.net.InetSocketAddress tcpIP
public int port
public java.lang.String scid
| Constructor Detail |
|---|
public Endpoint(java.net.InetSocketAddress tcpIP,
int port,
java.lang.String scid)
public Endpoint(java.io.StreamTokenizer st)
throws java.io.IOException
Endpoint
java.io.IOException| Method Detail |
|---|
public java.lang.String marshall()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||