| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.netio.rtt
|
+--com.newstep.solid.netio.rtt.RttEndpoint
public class RttEndpoint
Links:
Kernel Association Association Link
Associates type:
aggregationByValue
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregationByValue
Kernel Association Association Link
Associates type:
aggregationByValue
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregationByValue
Generalization Generalization Link
| Field Summary |
int |
|
int |
|
protected final static String |
|
private int |
|
protected static Logger |
|
|
|
|
|
private int |
|
| Constructor Summary |
public void |
|
public void |
|
| Method Summary |
|
|
public int |
|
|
|
|
|
public int |
|
void |
|
void |
|
void |
|
void |
|
public String |
|
protected final static String className
Final.
Multiplicity:
1
Static.
int clientId
private int clientId
Multiplicity:
1
protected static Logger logger
Multiplicity:
1
Static.
Multiplicity:
1
Multiplicity:
1
int serverId
private int serverId
Multiplicity:
1
Stereotype:
create
Parameters:
p -
primary TcpChannelEndpoint
s -
secondary TcpChannelEndpoint
id -
hostId. It is always assigned to the serverId, here is the reasoning: If an RttEndpoint is created in
order to be passed to RttAccessPoint.listen(), it is a local server endpoint and when a client
connects the clientId will be supplied. If it is passed to RttAccessPoint.openChannel(), then the the
id denotes the remote server's id and the clientId will be supplied by the RttAccessPoint itself.
Stereotype:
create
Parameters:
text -
textual representation of the RttChannelEndpoint The format for the stringified rttendpoint is:
IPAddress in the x.x.x.x form or a hostname followed by port for the first channel, followed by the
same sequence for the second channel and the host id at the end. Example:
192.168.10.11,8080,192.168.20.11,8080,33
Static.
Throws:
IOException
public int getClientId ()
public int getServerId ()
void setClientId (Integer id)
void setServerId (Integer id)
public String toString ()
The format for the stringified rttendpoint is: IPAddress in the x.x.x.x form or a hostname followed by port for
the first channel, followed by the same sequence for the second channel and the host id at the end. Example:
192.168.10.11,8080,192.168.20.11,8080,33
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|