public interface Callback
Callback
implements the functionality of a single method of a
LocalServer
.
Clients usually should not implement this interface directly. Instead use one
of the specialized implementing classes like DataCallback
or
EventCallback
.Modifier and Type | Interface and Description |
---|---|
static class |
Callback.UserCodeException
Exception to be thrown by callbacks to indicate an error while processing
the user code.
|
Modifier and Type | Method and Description |
---|---|
Event |
internalInvoke(Event request)
Method to invoke the
Callback 's functionality. |
Event internalInvoke(Event request) throws Callback.UserCodeException
Callback
's functionality. This method can be
considered an internal implementation detail.request
- the request received from a RemoteServer
method callCallback.UserCodeException
- any exception in the user code invoked by the callbackCopyright © 2018 CoR-Lab. All rights reserved.