public interface RemoteControlUnitAdminApplication
ControlunitProxy instance created with this object.ControlUnitProxyFactory#createControlUnitProxy| Modifier and Type | Method and Description |
|---|---|
void |
processControlUnitEvent(CUEvent cuEvent)
This method is called to deliver a control unit event.
|
void |
processControlUnitMetaType(java.lang.String requestId,
MetaTypeProvider metaTypeProvider,
java.lang.Exception error)
This method is called to deliver the control unit metatype provided in the target framework for a particular control unit type.
|
void |
processControlUnitTypes(java.lang.String requestId,
java.lang.String[][] types_versions,
java.lang.Exception error)
This method is called to deliver the control unit types provided in the target framework.
|
void |
processCreateControlUnitReply(java.lang.String requestId,
java.lang.String cuId,
java.lang.Exception error)
This method is called to deliver id of a created control unit.
|
void |
processDestroyControlUnitReply(java.lang.String requestId,
java.lang.Exception error)
This method is called to denote that a request for destruction of control unit is fulfilled.
|
void |
processEventSubscriptionReply(java.lang.String requestId,
java.lang.Exception error)
This method is called to denote that a request for event subscription is fulfilled.
|
void |
processGetIcon(java.lang.String requestId,
java.io.InputStream icon,
java.lang.Exception error)
This method is called to deliver an icon accessible from the target framework for a particular
object class definition of a control unit type's metadata.
|
void |
processHierarchyChanged(HEvent hEvent)
This method is called to deliver a hierarchy changed event.
|
void |
processInvokeActionResult(java.lang.String requestId,
java.lang.Object invocationResult,
java.lang.Exception error)
This method is called to deliver the result of action invocation on a particular control unit.
|
void |
processReceiveControlUnits(java.lang.String requestId,
ControlUnitInfo[] cunits,
java.lang.Exception error)
This method is called to deliver a list of control units provided in the target framework.
|
void |
processStateVariableChanged(SVEvent svEvent)
This method is called to deliver a state variable event.
|
void |
setProxy(ControlUnitProxy proxy,
java.lang.Exception error)
Called to provide the user application with
ControlUnitPorxy instance in response of
ControlUnitProxyFactory.createControlUnitProxy(Connection, RemoteControlUnitAdminApplication, boolean)
invocation. |
void setProxy(ControlUnitProxy proxy, java.lang.Exception error)
ControlUnitPorxy instance in response of
ControlUnitProxyFactory.createControlUnitProxy(Connection, RemoteControlUnitAdminApplication, boolean)
invocation.proxy - instance of ControlUnitProxy.error - a possible error occurred on the target framework while initializing the proxy.void processControlUnitTypes(java.lang.String requestId,
java.lang.String[][] types_versions,
java.lang.Exception error)
ControlUnitProxy.getControlUnitTypes method.requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.types_versions - array of pairs (String[n][2]) holding the control unit types and their versions respectively.error - possible error occurred on the target framework while interpreting the request.void processControlUnitMetaType(java.lang.String requestId,
MetaTypeProvider metaTypeProvider,
java.lang.Exception error)
ControlUnitProxy.getMetaType method.
This method may deliver the control unit metatype either in the form of a MetaTypeProvider object or
in the form of xml configuration file. This depends on the initiating request.requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.metaTypeProvider - a MetaTypeProvider objecterror - possible error occurred on the target framework while interpreting the request.void processInvokeActionResult(java.lang.String requestId,
java.lang.Object invocationResult,
java.lang.Exception error)
ControlUnitProxy.invokeAction method.requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.invocationResult - error - possible error occurred on the target framework while interpreting the request.void processCreateControlUnitReply(java.lang.String requestId,
java.lang.String cuId,
java.lang.Exception error)
ControlUnitProxy.createControlUnit method.requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.cuId - the id of the newly created control unit.error - possible error occurred on the target framework while interpreting the request.void processDestroyControlUnitReply(java.lang.String requestId,
java.lang.Exception error)
ControlUnitProxy.destroyControlUnit method.requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.error - possible error occurred on the target framework while interpreting the request.void processReceiveControlUnits(java.lang.String requestId,
ControlUnitInfo[] cunits,
java.lang.Exception error)
This response is in result of invoking one of the following methods:the -ControlUnitProxy.getControlUnits-ControlUnitProxy.getSubControlUnits-ControlUnitProxy.findControlUnits
requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.cunits - array of ControlUnitInfo objects.error - possible error occurred on the target framework while interpreting the request.void processEventSubscriptionReply(java.lang.String requestId,
java.lang.Exception error)
ControlUnitProxy.subscribe method.requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.error - possible error occurred on the target framework while interpreting the request.void processControlUnitEvent(CUEvent cuEvent)
cuEvent - CUEvent holding the event data.void processStateVariableChanged(SVEvent svEvent)
svEvent - event objet holding the even datavoid processHierarchyChanged(HEvent hEvent)
void processGetIcon(java.lang.String requestId,
java.io.InputStream icon,
java.lang.Exception error)
getIcon method.requestId - id of the request. It holds the same value specified as requestId parameter while initiating the request.icon - InputStream to the icon or null if icon is not available.error - possible error occurred on the target framework while interpreting the request.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.