public interface ClientSideToolkit
ClientInterfaceHandlerFactory
to allow
the handler of method invocations to do it's job.Modifier and Type | Method and Description |
---|---|
ClientSession |
getClientSession()
Get the client session.
|
<T> T |
invoke(RemoteOperation<T> remoteOperation,
Object... args)
Invoke a remote operation.
|
void |
registerNotificationListener(String eventType,
NotificationListener notificationListener)
Add a NotificationListener.
|
void |
removeNotificationListener(String eventType,
NotificationListener notificationListener)
Remove a NotificationListener.
|
ClientSession getClientSession()
<T> T invoke(RemoteOperation<T> remoteOperation, Object... args) throws Throwable
T
- The return type of the operation.remoteOperation
- args
- Throwable
void registerNotificationListener(String eventType, NotificationListener notificationListener)
eventType
- notificationListener
- void removeNotificationListener(String eventType, NotificationListener notificationListener)
eventType
- notificationListener
-