public class ClientEndpoint extends Endpoint
| Constructor and Description |
|---|
ClientEndpoint(String destination,
EndpointStreamSource endpointStreamSource,
WebSocket webSocket,
Consumer<CloseReason> closeAction,
ch.squaredesk.nova.comm.MessageTranscriber<String> messageTranscriber,
MetricsCollector metricsCollector) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearUserProperties() |
String |
getUserProperty(String propertyId) |
<PropertyType> |
getUserProperty(String propertyId,
Class<PropertyType> propertyType) |
<T> void |
send(T message) |
void |
setUserProperty(String propertyId,
Object value) |
close, close, closedWebSockets, connectedWebSockets, errors, messages, messagespublic ClientEndpoint(String destination, EndpointStreamSource endpointStreamSource, WebSocket webSocket, Consumer<CloseReason> closeAction, ch.squaredesk.nova.comm.MessageTranscriber<String> messageTranscriber, MetricsCollector metricsCollector)
Copyright © 2018. All rights reserved.