public.javadoc.org.spincast.plugins.httpclient.websocket.WebsocketClientHandler.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
WebsocketClientHandler (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.httpclient.websocket
Interface WebsocketClientHandler
-
public interface WebsocketClientHandler
A Websocket client reader
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
onConnectionClosed(int code,
String reason)
Called when if the endpoint closes the connection.
void
onEndpointMessage(byte[] message)
The endpoint sent a bytes[] message.
void
onEndpointMessage(String message)
The endpoint sent a String message.
-
-
Method Detail
-
onConnectionClosed
void onConnectionClosed(int code,
String reason)
Called when if the endpoint closes the connection.
-
onEndpointMessage
void onEndpointMessage(String message)
The endpoint sent a String message.
-
onEndpointMessage
void onEndpointMessage(byte[] message)
The endpoint sent a bytes[] message.
Copyright © 2019. All rights reserved.