public abstract class NSFHandle extends NSFBase
Constructor and Description |
---|
NSFHandle(DominoAPI api)
This constructor is used by non-handle variants of child classes, which do not
necessarily need a parent.
|
NSFHandle(NSFSession session,
long handle) |
Modifier and Type | Method and Description |
---|---|
protected void |
_checkRefValidity() |
protected void |
doFree()
This method is called when the final reference to this object is freed.
|
boolean |
equals(Object obj) |
long |
getHandle() |
NSFSession |
getSession() |
int |
hashCode() |
boolean |
isRefValid()
Checks whether the object's inner reference is valid.
|
void |
setHandle(long handle) |
String |
toString() |
addChild, addChildStruct, debugPrintChildHierarchy, finalize, free, free, free, getAPI, getChildObjectCount, getChildObjectCount, getChildStructCount, getParent, isFreed, isTraceCreation, removeChild, removeChildStruct, removeFromParent, retain, setNeedsFree, setTraceCreation
public NSFHandle(NSFSession session, long handle)
public long getHandle()
public void setHandle(long handle)
public NSFSession getSession()
protected void doFree()
NSFBase
Implemented classes are expected to release any memory or network resources they have open. They are also expected to write this defensively, allowing the method to be called multiple times on the same object without problem.
public boolean isRefValid()
NSFBase
isRefValid
in class NSFBase
protected final void _checkRefValidity()
_checkRefValidity
in class NSFBase
Copyright © 2014–2018. All rights reserved.