public interface OperationHandler
It is recommended to extend AbstractOperationHandler
rather than to implement this
interface.
AbstractOperationHandler
,
RemoteObject
Modifier and Type | Method and Description |
---|---|
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.
|
void handleSet(JsonObject properties)
properties
- a map with the propertiesvoid 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
Copyright (c) EclipseSource and others 2002, 2017.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0