public class AlpacaWebsocketClientEndpoint extends AbstractWebsocketClientEndpoint
Constructor and Description |
---|
AlpacaWebsocketClientEndpoint(WebsocketClient websocketClient,
java.net.URI endpointURI)
Instantiates a new Alpaca websocket client endpoint.
|
Modifier and Type | Method and Description |
---|---|
void |
onCloseAnnotated(javax.websocket.Session userSession,
javax.websocket.CloseReason reason) |
void |
onMessageAnnotated(byte[] message) |
void |
onOpenAnnotated(javax.websocket.Session userSession) |
connect, disconnect, getUserSession, onClose, onMessage, onOpen, sendMessage
public AlpacaWebsocketClientEndpoint(WebsocketClient websocketClient, java.net.URI endpointURI)
websocketClient
- the websocket clientendpointURI
- the endpoint uri