|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationHandler
Classes that implement this interface are used to handle operations from a remote object. Implementations must apply the operations to the corresponding target object.
It is recommended to extend AbstractOperationHandler
rather than to implement this
interface.
Note: The classes and interfaces in the package org.eclipse.rap.rwt.remote are still considered provisional. They are expected to evolve over the next releases, which may lead to slight changes. We make the package available to enable the development of custom components with the new API.
AbstractOperationHandler
,
RemoteObject
Method Summary | |
---|---|
void |
handleCall(java.lang.String method,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Handles a call operation from the remote object. |
void |
handleNotify(java.lang.String event,
java.util.Map<java.lang.String,java.lang.Object> properties)
Handles a notify operation from the remote object. |
void |
handleSet(java.util.Map<java.lang.String,java.lang.Object> properties)
Handles a set operation from the remote object. |
Method Detail |
---|
void handleSet(java.util.Map<java.lang.String,java.lang.Object> properties)
properties
- a map with the propertiesvoid handleCall(java.lang.String method, java.util.Map<java.lang.String,java.lang.Object> parameters)
method
- the name of the method to callparameters
- the parameters for the method call, may be empty, but never null
void handleNotify(java.lang.String event, java.util.Map<java.lang.String,java.lang.Object> properties)
event
- the name of the event that occurredproperties
- the event properties, maybe empty but never null
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.