public interface Handle
A Handle represents a binding of an API layer concept to its underlying
native object. A Handle instance is created by calling one of the of
Solclient.Allocator new methods
A Handle instance has the following characteristics:
Handle.isBound() will return falseSolclient.createContextForHandle())Handle.destroy() will destroy the native object and render the
Handle reference unbound. At this point, the Handle instance can be re-used.| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This method will destroy the native object associated
with this Handle instance.
|
boolean |
isBound()
Returns true if this Handle object is bound to native object.
|
boolean isBound()
void destroy()
throws SolclientException
SolclientException - if the destroy failsCopyright 2004-2025 Solace Corporation. All rights reserved.