public class ObjectStore
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ObjectStore.ClientEventHandler |
class |
ObjectStore.ServerEventHandler |
Constructor and Description |
---|
ObjectStore(Client client) |
ObjectStore(Server server) |
Modifier and Type | Method and Description |
---|---|
void |
exposeObject(java.lang.String name,
java.lang.Object obj) |
<T> T |
getExposedObject(java.lang.String name,
java.lang.Class<T> type,
boolean waitFor) |
public ObjectStore(Client client)
public ObjectStore(Server server)
public void exposeObject(java.lang.String name, java.lang.Object obj) throws java.io.IOException
java.io.IOException
public <T> T getExposedObject(java.lang.String name, java.lang.Class<T> type, boolean waitFor) throws java.lang.InterruptedException
java.lang.InterruptedException