class Any2OneConnectionImpl<T> extends java.lang.Object implements Any2OneConnection<T>
Any2OneConnection.
Each end is safe to be used by one thread at a time.| Modifier and Type | Field and Description |
|---|---|
private One2OneChannel |
chanFromServer |
private Any2OneChannel |
chanSynch |
private One2OneChannel |
chanToServer |
private AltingConnectionServer |
server |
| Constructor and Description |
|---|
Any2OneConnectionImpl()
Initializes all the attributes to necessary values.
|
| Modifier and Type | Method and Description |
|---|---|
SharedAltingConnectionClient |
client()
Returns the
AltingConnectionClient that can
be used by a single process at any instance. |
AltingConnectionServer |
server()
Returns the
AltingConnectionServer that can
be used by a single process at any instance. |
private AltingConnectionServer server
private One2OneChannel chanToServer
private One2OneChannel chanFromServer
private Any2OneChannel chanSynch
public Any2OneConnectionImpl()
ChannelServer inteface.
Constructor for One2OneConnectionImpl.public SharedAltingConnectionClient client()
AltingConnectionClient that can
be used by a single process at any instance.client in interface Any2OneConnection<T>client in interface ConnectionWithSharedAltingClient<T>AltingConnectionClient object.public AltingConnectionServer server()
AltingConnectionServer that can
be used by a single process at any instance.server in interface Any2OneConnection<T>AltingConnectionServer object.