|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientSideToolkit
Provide tools to ClientInterfaceHandlerFactory
to allow
the handler of method invocations to do it's job.
Method Summary | ||
---|---|---|
ClientSession |
getClientSession()
Get the client session. |
|
|
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. |
Method Detail |
---|
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
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |