|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--connect.socket.SocketRelayPoint
A socket implementation of the RelayPoint interface.
This implementation allows for one relay request before exiting the Thread listening for additional relay requests.
Component,
MethodRequest| Field Summary | |
private connect.ChannelBundle |
relayChannels
The SupplierChannel connected to the component to which this point will relay MethodRequest objects. |
private ServerSocket |
ss
The ServerSocket on which this relay point will listen. |
| Constructor Summary | |
SocketRelayPoint(int port,
connect.ChannelBundle relayChannels)
|
|
| Method Summary | |
void |
relay(util.MethodRequest request)
Sends the request to the Component for which this point responsible. |
void |
run()
Listens for one MethodRequest requesting the method
Component.connect(CreatesConnection) and then closes
the ServerSocket so as to stop any additional
requests. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final connect.ChannelBundle relayChannels
MethodRequest objects.
private final ServerSocket ss
| Constructor Detail |
public SocketRelayPoint(int port,
connect.ChannelBundle relayChannels)
| Method Detail |
public void relay(util.MethodRequest request)
RelayPoint
relay in interface RelayPointpublic void run()
MethodRequest requesting the method
Component.connect(CreatesConnection) and then closes
the ServerSocket so as to stop any additional
requests.
run in interface Runnable
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||