Package org.oddjob.websocket
Class NotifierServerEndpoint
java.lang.Object
org.oddjob.websocket.NotifierServerEndpoint
Web Socket server endpoint for a Remote Notifier.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NotificationType<SubscriptionRequest> static final SubscriptionRequeststatic NotificationType<Void> static final long -
Constructor Summary
ConstructorsConstructorDescriptionNotifierServerEndpoint(RemoteNotifier remoteNotifier, com.google.gson.Gson gson) -
Method Summary
-
Field Details
-
ACTION_COMPLETE_TYPE
-
SYSTEM_REMOTE_ID
public static final long SYSTEM_REMOTE_ID- See Also:
-
HEARTBEAT_TYPE
-
HEARTBEAT_REQUEST
-
-
Constructor Details
-
NotifierServerEndpoint
-
-
Method Details
-
open
public void open(javax.websocket.Session session, javax.websocket.EndpointConfig config) -
onMessage
- Throws:
RemoteException
-
close
- Throws:
RemoteException
-
error
-