public interface AcknowledgmentSource
ServerContext.getServerContextElement(java.lang.Class)
Modifier and Type | Interface and Description |
---|---|
static interface |
AcknowledgmentSource.Listener
A callback object for registering with an
AcknowledgmentSource server context element to handle the
receipt of an acknowledgment that the remote call's result data
has been processed by the client. |
Modifier and Type | Method and Description |
---|---|
boolean |
addAcknowledgmentListener(AcknowledgmentSource.Listener listener)
Registers the specified listener as interested in receiving an
acknowledgment that the remote call's result data has been
processed by the client.
|
boolean addAcknowledgmentListener(AcknowledgmentSource.Listener listener)
The implementation of this interface may refuse a
registration, such as if the remote call's result data has
already been written. This method returns true
if
the listener was successfully registered, and
false
if the registration was refused.
listener
- the listener to registertrue
if the listener was successfully
registered, and false
if the registration was
refusedNullPointerException
- if listener
is
null
Copyright © GigaSpaces.