unitee.server
Class ServerObjectRepository

java.lang.Object
  |
  +--unitee.server.ServerObjectRepository

public class ServerObjectRepository
extends java.lang.Object
implements ObjectRepository


Constructor Summary
ServerObjectRepository()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerObjectRepository

public ServerObjectRepository()
Method Detail

addRemoteObject

public int addRemoteObject(java.lang.Object remote)
Add a remote reference to the list of the already referenced objects.
Specified by:
addRemoteObject in interface ObjectRepository
Returns:
the index of the added object

findRemoteObject

public java.lang.Object findRemoteObject(int objectID)
Description copied from interface: ObjectRepository
Returns a remote object.
Specified by:
findRemoteObject in interface ObjectRepository