Class WebsocketVisualizerServer
- java.lang.Object
-
- org.java_websocket.WebSocketAdapter
-
- org.java_websocket.AbstractWebSocket
-
- org.java_websocket.server.WebSocketServer
-
- org.eclipse.mosaic.fed.output.generator.websocket.WebsocketVisualizerServer
-
-
Constructor Summary
Constructors Constructor Description WebsocketVisualizerServer(InetSocketAddress address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChargingStation(ChargingStationRegistration interaction)
void
addRoadsideUnit(RsuRegistration interaction)
void
addTrafficLight(TrafficLightRegistration interaction)
void
addVehicle(VehicleRegistration interaction)
void
onClose(org.java_websocket.WebSocket arg0, int arg1, String arg2, boolean arg3)
void
onError(org.java_websocket.WebSocket arg0, Exception ex)
void
onMessage(org.java_websocket.WebSocket socket, String arg1)
void
onOpen(org.java_websocket.WebSocket arg0, org.java_websocket.handshake.ClientHandshake arg1)
void
onStart()
void
receiveV2xMessage(V2xMessageReception interaction)
void
sendV2xMessage(V2xMessageTransmission interaction)
void
updateChargingStation(ChargingStationUpdate interaction)
void
updateVehicleUpdates(VehicleUpdates interaction)
-
Methods inherited from class org.java_websocket.server.WebSocketServer
addConnection, allocateBuffers, broadcast, broadcast, broadcast, broadcast, broadcast, broadcast, connections, createBuffer, getAddress, getConnections, getDraft, getLocalSocketAddress, getPort, getRemoteSocketAddress, getWebSocketFactory, onCloseInitiated, onClosing, onConnect, onFragment, onMessage, onWebsocketClose, onWebsocketCloseInitiated, onWebsocketClosing, onWebsocketError, onWebsocketHandshakeReceivedAsServer, onWebsocketMessage, onWebsocketMessage, onWebsocketMessageFragment, onWebsocketOpen, onWriteDemand, queue, releaseBuffers, removeConnection, run, setWebSocketFactory, start, stop, stop
-
Methods inherited from class org.java_websocket.AbstractWebSocket
getConnectionLostTimeout, isReuseAddr, isTcpNoDelay, setConnectionLostTimeout, setReuseAddr, setTcpNoDelay, startConnectionLostTimer, stopConnectionLostTimer
-
Methods inherited from class org.java_websocket.WebSocketAdapter
onWebsocketHandshakeReceivedAsClient, onWebsocketHandshakeSentAsClient, onWebsocketPing, onWebsocketPong
-
-
-
-
Constructor Detail
-
WebsocketVisualizerServer
public WebsocketVisualizerServer(InetSocketAddress address)
-
-
Method Detail
-
onStart
public void onStart()
- Specified by:
onStart
in classorg.java_websocket.server.WebSocketServer
-
onClose
public void onClose(org.java_websocket.WebSocket arg0, int arg1, String arg2, boolean arg3)
- Specified by:
onClose
in classorg.java_websocket.server.WebSocketServer
-
onError
public void onError(org.java_websocket.WebSocket arg0, Exception ex)
- Specified by:
onError
in classorg.java_websocket.server.WebSocketServer
-
onMessage
public void onMessage(org.java_websocket.WebSocket socket, String arg1)
- Specified by:
onMessage
in classorg.java_websocket.server.WebSocketServer
-
onOpen
public void onOpen(org.java_websocket.WebSocket arg0, org.java_websocket.handshake.ClientHandshake arg1)
- Specified by:
onOpen
in classorg.java_websocket.server.WebSocketServer
-
updateVehicleUpdates
public void updateVehicleUpdates(VehicleUpdates interaction)
-
sendV2xMessage
public void sendV2xMessage(V2xMessageTransmission interaction)
-
receiveV2xMessage
public void receiveV2xMessage(V2xMessageReception interaction)
-
addRoadsideUnit
public void addRoadsideUnit(RsuRegistration interaction)
-
addTrafficLight
public void addTrafficLight(TrafficLightRegistration interaction)
-
addChargingStation
public void addChargingStation(ChargingStationRegistration interaction)
-
updateChargingStation
public void updateChargingStation(ChargingStationUpdate interaction)
-
addVehicle
public void addVehicle(VehicleRegistration interaction)
-
-