Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.websocket.core.WebSocketEndpoint Interface Reference
Collaboration diagram for dev.rafex.ether.websocket.core.WebSocketEndpoint:

Public Member Functions

default void onBinary (final WebSocketSession session, final ByteBuffer message) throws Exception
default void onClose (final WebSocketSession session, final WebSocketCloseStatus closeStatus) throws Exception
default void onError (final WebSocketSession session, final Throwable error)
default void onOpen (final WebSocketSession session) throws Exception
default void onText (final WebSocketSession session, final String message) throws Exception
default Set< String > subprotocols ()

Detailed Description

Definition at line 32 of file WebSocketEndpoint.java.

Member Function Documentation

◆ onBinary()

default void dev.rafex.ether.websocket.core.WebSocketEndpoint.onBinary ( final WebSocketSession session,
final ByteBuffer message ) throws Exception

Definition at line 40 of file WebSocketEndpoint.java.

◆ onClose()

default void dev.rafex.ether.websocket.core.WebSocketEndpoint.onClose ( final WebSocketSession session,
final WebSocketCloseStatus closeStatus ) throws Exception

Definition at line 43 of file WebSocketEndpoint.java.

References dev.rafex.ether.websocket.core.WebSocketCloseStatus().

Here is the call graph for this function:

◆ onError()

default void dev.rafex.ether.websocket.core.WebSocketEndpoint.onError ( final WebSocketSession session,
final Throwable error )

Definition at line 46 of file WebSocketEndpoint.java.

◆ onOpen()

default void dev.rafex.ether.websocket.core.WebSocketEndpoint.onOpen ( final WebSocketSession session) throws Exception

Definition at line 34 of file WebSocketEndpoint.java.

◆ onText()

default void dev.rafex.ether.websocket.core.WebSocketEndpoint.onText ( final WebSocketSession session,
final String message ) throws Exception

Definition at line 37 of file WebSocketEndpoint.java.

◆ subprotocols()

default Set< String > dev.rafex.ether.websocket.core.WebSocketEndpoint.subprotocols ( )

Definition at line 49 of file WebSocketEndpoint.java.


The documentation for this interface was generated from the following file:
  • ether-websocket-core/ether-websocket-core/src/main/java/dev/rafex/ether/websocket/core/WebSocketEndpoint.java