| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mindoo.remote.api.ipc.IPCConnectionRegistry
public abstract class IPCConnectionRegistry

Framework class, for internal purpose only
| Nested Class Summary | |
|---|---|
static class | 
IPCConnectionRegistry.IPCConnectionInfo
Container for connection metadata  | 
| Constructor Summary | |
|---|---|
IPCConnectionRegistry()
 | 
|
| Method Summary | |
|---|---|
 ThinBridgeObjectCache | 
getCache(java.lang.String connId)
 | 
 IPCConnectionRegistry.IPCConnectionInfo | 
getConnectionInfo(java.lang.String connId)
Method to get a connection info object for a connection id  | 
protected abstract  IRemoteEclipseConnectionManager | 
getEclipseConnectionManager()
 | 
 java.util.List<java.lang.String> | 
getOpenConnectionIds()
 | 
 void | 
markConnectionActive(java.lang.String connId)
Use this method to update the last active date of a connection to prevent it from being auto disposed  | 
 void | 
purgeConnections(long maxAge)
Method to automatically purge all open connections that are older than the specified number of seconds  | 
 IPCConnectionRegistry.IPCConnectionInfo | 
registerConnection(IPCRemoteAPIConnectionDispatcher handler,
                   java.lang.String connId)
 | 
 void | 
unregisterConnection(java.lang.String connId)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public IPCConnectionRegistry()
| Method Detail | 
|---|
public ThinBridgeObjectCache getCache(java.lang.String connId)
                               throws RemoteEclipseAPIException
RemoteEclipseAPIException
public void unregisterConnection(java.lang.String connId)
                          throws RemoteEclipseAPIException
RemoteEclipseAPIExceptionprotected abstract IRemoteEclipseConnectionManager getEclipseConnectionManager()
public IPCConnectionRegistry.IPCConnectionInfo registerConnection(IPCRemoteAPIConnectionDispatcher handler,
                                                                  java.lang.String connId)
                                                           throws java.lang.Exception
java.lang.Exception
public void purgeConnections(long maxAge)
                      throws RemoteEclipseAPIException
maxAge - max age in seconds
RemoteEclipseAPIException
public java.util.List<java.lang.String> getOpenConnectionIds()
                                                      throws RemoteEclipseAPIException
RemoteEclipseAPIException
public void markConnectionActive(java.lang.String connId)
                          throws RemoteEclipseAPIException
connId - connection id
RemoteEclipseAPIException
public IPCConnectionRegistry.IPCConnectionInfo getConnectionInfo(java.lang.String connId)
                                                          throws RemoteEclipseAPIException
connId - connection id
RemoteEclipseAPIException - if the connection does not exist or has been disposed
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||