T
- subtype of RemoteObjectRef contained in this tablepublic class RemoteObjectTable<T extends BrowserChannel.RemoteObjectRef> extends Object
getRefIdsForCleanup()
.Constructor and Description |
---|
RemoteObjectTable()
Create a new RemoteObjectTable.
|
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
getRefIdsForCleanup() |
T |
getRemoteObjectRef(int refId)
Obtain the RemoteObjectRef that is currently in use to act as a proxy for
the given remote object ID.
|
boolean |
isNewObjectId(int refId)
Check to see if this ID does not already exist.
|
void |
putRemoteObjectRef(int refId,
T remoteObjectRef)
Store a remote object reference in the table.
|
public Set<Integer> getRefIdsForCleanup()
public T getRemoteObjectRef(int refId)
public boolean isNewObjectId(int refId)
refId
- reference ID to checkpublic void putRemoteObjectRef(int refId, T remoteObjectRef)
refId
- remoteObjectRef
- Copyright © 2018. All rights reserved.