Options
All
  • Public
  • Public/Protected
  • All
Menu

Listener interface to receive WebSocket events.

An implementation of this interface should be added by {@link WebSocket#addListener(WebSocketListener)} to a {@link WebSocket} instance before calling {@link WebSocket#connect()}.

{@link WebSocketAdapter} is an empty implementation of this interface.

see

WebSocket#addListener(WebSocketListener)

see

WebSocketAdapter

Hierarchy

  • WebSocketListener

Index

Methods

onCloseFrame

  • Parameters

    Returns void

onConnectError

  • Parameters

    Returns void

onConnected

onDisconnected

  • Parameters

    Returns void

onError

onPingFrame

onSendError

  • Parameters

    Returns void

onTextMessage

onUnexpectedError

  • Parameters

    Returns void

Generated using TypeDoc