public class SimpleProxyControlComponent extends SimpleControlComponent implements NetworkReceiver, org.eclipse.basyx.vab.service.api.BaSyxService
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>CMD, ERROR_STATE, EX_MODE, EX_STATE, OCCUPATION_STATE, OCCUPIER, OP_MODE, OPERATION_ABORT, OPERATION_AUTO, OPERATION_CLEAR, OPERATION_FREE, OPERATION_MANUAL, OPERATION_OCCUPY, OPERATION_PRIORITY, OPERATION_RESET, OPERATION_START, OPERATION_STOP, OPERATIONS, STATUS, WORK_STATE| Constructor and Description |
|---|
SimpleProxyControlComponent(int serverPort)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
filterOperationMode(String newOperationMode)
Indicate operation mode change
|
String |
getName()
Return name
|
boolean |
hasEnded()
Check end execution flag of this service
|
void |
onReceive(byte[] message)
Received message from TCP server
|
org.eclipse.basyx.vab.service.api.BaSyxService |
setName(String newName)
Change service name
|
void |
start()
Start this service
|
void |
stop()
Staop this service
|
void |
waitFor()
Wait for end of service
|
addControlComponentChangeListener, finishState, getCommand, getErrorState, getExecutionMode, getExecutionState, getOccupationState, getOccupierID, getOperationMode, getWorkState, put, removeControlComponentChangeListener, setCommand, setErrorState, setExecutionMode, setExecutionState, setOccupationState, setOccupierID, setOperationMode, setWorkStateclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic SimpleProxyControlComponent(int serverPort)
public void onReceive(byte[] message)
onReceive in interface NetworkReceiverpublic String filterOperationMode(String newOperationMode)
public void start()
start in interface org.eclipse.basyx.vab.service.api.BaSyxServicepublic void stop()
stop in interface org.eclipse.basyx.vab.service.api.BaSyxServicepublic void waitFor()
waitFor in interface org.eclipse.basyx.vab.service.api.BaSyxServicepublic org.eclipse.basyx.vab.service.api.BaSyxService setName(String newName)
setName in interface org.eclipse.basyx.vab.service.api.BaSyxServicepublic String getName()
getName in interface org.eclipse.basyx.vab.service.api.BaSyxServicepublic boolean hasEnded()
hasEnded in interface org.eclipse.basyx.vab.service.api.BaSyxServiceCopyright © 2021. All rights reserved.