Class IncomingWebSocketEvent<T>
java.lang.Object
org.photonvision.common.dataflow.events.DataChangeEvent<T>
org.photonvision.common.dataflow.events.IncomingWebSocketEvent<T>
-
Field Summary
Fields inherited from class org.photonvision.common.dataflow.events.DataChangeEvent
data, destType, propertyName, sourceType
-
Constructor Summary
ConstructorDescriptionIncomingWebSocketEvent
(DataChangeDestination destType, String dataKey, HashMap<String, Object> data) IncomingWebSocketEvent
(DataChangeDestination destType, String propertyName, T newValue) IncomingWebSocketEvent
(DataChangeDestination destType, String propertyName, T newValue, Integer cameraIndex, io.javalin.websocket.WsContext originContext) -
Method Summary
-
Field Details
-
cameraIndex
-
originContext
public final io.javalin.websocket.WsContext originContext
-
-
Constructor Details
-
IncomingWebSocketEvent
-
IncomingWebSocketEvent
public IncomingWebSocketEvent(DataChangeDestination destType, String propertyName, T newValue, Integer cameraIndex, io.javalin.websocket.WsContext originContext) -
IncomingWebSocketEvent
public IncomingWebSocketEvent(DataChangeDestination destType, String dataKey, HashMap<String, Object> data)
-
-
Method Details
-
toString
- Overrides:
toString
in classDataChangeEvent<T>
-