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,
java.lang.Object... args)
Invoke a remote operation.
|
<T> void |
registerNotificationListener(NotificationType<T> eventType,
NotificationListener<T> notificationListener)
Add a NotificationListener.
|
<T> void |
removeNotificationListener(NotificationType<T> eventType,
NotificationListener<T> notificationListener)
Remove a NotificationListener.
|
ClientSession getClientSession()
<T> T invoke(RemoteOperation<T> remoteOperation, java.lang.Object... args) throws java.lang.Throwable
T
- The return type of the operation.remoteOperation
- args
- java.lang.Throwable
<T> void registerNotificationListener(NotificationType<T> eventType, NotificationListener<T> notificationListener)
eventType
- notificationListener
- <T> void removeNotificationListener(NotificationType<T> eventType, NotificationListener<T> notificationListener)
eventType
- notificationListener
-