|
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 | +--locater.ObjectLocaterFactory
Generates a new ObjectLocater. The current implementation creates
a SocketObjectLocater in the same JVM as the factory.
| Field Summary | |
private int |
currentPortNumber
The last port number assigned for an ObjectLocater. |
private static long |
serialVersionUID
|
private static locater.ObjectLocaterFactory |
singleton
The singleton instance. |
| Constructor Summary | |
private |
ObjectLocaterFactory()
|
| Method Summary | |
connect.CreatesConnection |
generateObjectLocater(connect.CreatesConnection serverConnection)
Returns a CreatesConnection to an ObjectLocater that is already connected to the Server. |
private int |
getNextPortNumber()
Returns the next open port on which to start an socket based Component. |
static locater.ObjectLocaterFactory |
instance()
Returns the singleton instance of the factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private static locater.ObjectLocaterFactory singleton
private int currentPortNumber
| Constructor Detail |
private ObjectLocaterFactory()
| Method Detail |
public static locater.ObjectLocaterFactory instance()
private final int getNextPortNumber()
ServerSocket.
public connect.CreatesConnection generateObjectLocater(connect.CreatesConnection serverConnection)
ObjectLocater that is already connected to the Server.
An ObjectLocated is linked at call time and is
guaranteed to be returned only if connected.
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||