|
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.
AbstractOperationHandler,
RemoteObject| Method Summary | |
|---|---|
void |
handleCall(java.lang.String method,
JsonObject parameters)
Handles a call operation from the remote object. |
void |
handleNotify(java.lang.String event,
JsonObject properties)
Handles a notify operation from the remote object. |
void |
handleSet(JsonObject properties)
Handles a set operation from the remote object. |
| Method Detail |
|---|
void handleSet(JsonObject properties)
properties - a map with the properties
void handleCall(java.lang.String method,
JsonObject 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,
JsonObject properties)
event - the name of the event that occurredproperties - the event properties, may be 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, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0