unitee.common
Interface ObjectRepository
- All Known Implementing Classes:
- ServerObjectRepository
- public interface ObjectRepository
Holds references to the objects resides on the server. The repository is
cross connection , but is applicable only to the time the system is up
from.
Method Summary |
int |
addRemoteObject(java.lang.Object remote)
Add a remote reference to the list of the already referenced objects. |
java.lang.Object |
findRemoteObject(int objectID)
Returns a remote object. |
addRemoteObject
public int addRemoteObject(java.lang.Object remote)
- Add a remote reference to the list of the already referenced objects.
- Returns:
- the index of the added object
findRemoteObject
public java.lang.Object findRemoteObject(int objectID)
- Returns a remote object.