WebSocketMessageHandler

abstract class WebSocketMessageHandler[F[_], A](topic: Topic[F, Either[Throwable, Message[A]]], counter: Ref[F, Int], interruption: Deferred[F, Throwable], dispatcher: Dispatcher[F])(uri: URI, enqueueTimeout: FiniteDuration)(implicit F: Sync[F]) extends WebSocketClient
class WebSocketClient
trait WebSocket
trait Runnable
class AbstractWebSocket
class WebSocketAdapter
trait WebSocketListener
class Object
trait Matchable
class Any

Value members

Concrete methods

def error(cause: Throwable): Unit
def message(value: Message[A]): Unit
final override def onClose(code: Int, reason: String, remote: Boolean): Unit
Definition Classes
WebSocketClient
final override def onError(exception: Exception): Unit
Definition Classes
WebSocketClient
final override def onOpen(handshake: ServerHandshake): Unit
Definition Classes
WebSocketClient

Inherited methods

def addHeader(x$0: String, x$1: String): Unit
Inherited from
WebSocketClient
def clearHeaders(): Unit
Inherited from
WebSocketClient
def close(x$0: Int, x$1: String): Unit
Inherited from
WebSocketClient
def close(x$0: Int): Unit
Inherited from
WebSocketClient
def close(): Unit
Inherited from
WebSocketClient
@throws(java.lang.InterruptedException)
def closeBlocking(): Unit
Inherited from
WebSocketClient
def closeConnection(x$0: Int, x$1: String): Unit
Inherited from
WebSocketClient
def connect(): Unit
Inherited from
WebSocketClient
@throws(java.lang.InterruptedException)
def connectBlocking(x$0: Long, x$1: TimeUnit): Boolean
Inherited from
WebSocketClient
@throws(java.lang.InterruptedException)
def connectBlocking(): Boolean
Inherited from
WebSocketClient
def getAttachment[T <: <FromJavaObject>](): T
Inherited from
WebSocketClient
def getConnection(): WebSocket
Inherited from
WebSocketClient
Inherited from
AbstractWebSocket
def getDraft(): Draft
Inherited from
WebSocketClient
def getLocalSocketAddress(): InetSocketAddress
Inherited from
WebSocketClient
def getLocalSocketAddress(x$0: WebSocket): InetSocketAddress
Inherited from
WebSocketClient
def getProtocol(): IProtocol
Inherited from
WebSocketClient
def getReadyState(): ReadyState
Inherited from
WebSocketClient
def getRemoteSocketAddress(): InetSocketAddress
Inherited from
WebSocketClient
def getRemoteSocketAddress(x$0: WebSocket): InetSocketAddress
Inherited from
WebSocketClient
def getResourceDescriptor(): String
Inherited from
WebSocketClient
def getSSLSession(): SSLSession
Inherited from
WebSocketClient
def getSocket(): Socket
Inherited from
WebSocketClient
def getURI(): URI
Inherited from
WebSocketClient
def hasBufferedData(): Boolean
Inherited from
WebSocketClient
def hasSSLSupport(): Boolean
Inherited from
WebSocketClient
def isClosed(): Boolean
Inherited from
WebSocketClient
def isClosing(): Boolean
Inherited from
WebSocketClient
def isFlushAndClose(): Boolean
Inherited from
WebSocketClient
def isOpen(): Boolean
Inherited from
WebSocketClient
def isReuseAddr(): Boolean
Inherited from
AbstractWebSocket
def isTcpNoDelay(): Boolean
Inherited from
AbstractWebSocket
def onCloseInitiated(x$0: Int, x$1: String): Unit
Inherited from
WebSocketClient
def onClosing(x$0: Int, x$1: String, x$2: Boolean): Unit
Inherited from
WebSocketClient
def onMessage(x$0: ByteBuffer): Unit
Inherited from
WebSocketClient
def onMessage(x$0: String): Unit
Inherited from
WebSocketClient
def onPreparePing(x$0: WebSocket): PingFrame
Inherited from
WebSocketAdapter
final def onWebsocketClose(x$0: WebSocket, x$1: Int, x$2: String, x$3: Boolean): Unit
Inherited from
WebSocketClient
def onWebsocketCloseInitiated(x$0: WebSocket, x$1: Int, x$2: String): Unit
Inherited from
WebSocketClient
def onWebsocketClosing(x$0: WebSocket, x$1: Int, x$2: String, x$3: Boolean): Unit
Inherited from
WebSocketClient
final def onWebsocketError(x$0: WebSocket, x$1: Exception): Unit
Inherited from
WebSocketClient
@throws(org.java_websocket.exceptions.InvalidDataException)
def onWebsocketHandshakeReceivedAsClient(x$0: WebSocket, x$1: ClientHandshake, x$2: ServerHandshake): Unit
Inherited from
WebSocketAdapter
@throws(org.java_websocket.exceptions.InvalidDataException)
def onWebsocketHandshakeReceivedAsServer(x$0: WebSocket, x$1: Draft, x$2: ClientHandshake): ServerHandshakeBuilder
Inherited from
WebSocketAdapter
@throws(org.java_websocket.exceptions.InvalidDataException)
def onWebsocketHandshakeSentAsClient(x$0: WebSocket, x$1: ClientHandshake): Unit
Inherited from
WebSocketAdapter
final def onWebsocketMessage(x$0: WebSocket, x$1: ByteBuffer): Unit
Inherited from
WebSocketClient
final def onWebsocketMessage(x$0: WebSocket, x$1: String): Unit
Inherited from
WebSocketClient
final def onWebsocketOpen(x$0: WebSocket, x$1: Handshakedata): Unit
Inherited from
WebSocketClient
def onWebsocketPing(x$0: WebSocket, x$1: Framedata): Unit
Inherited from
WebSocketAdapter
def onWebsocketPong(x$0: WebSocket, x$1: Framedata): Unit
Inherited from
WebSocketAdapter
final def onWriteDemand(x$0: WebSocket): Unit
Inherited from
WebSocketClient
def reconnect(): Unit
Inherited from
WebSocketClient
@throws(java.lang.InterruptedException)
def reconnectBlocking(): Boolean
Inherited from
WebSocketClient
def removeHeader(x$0: String): String
Inherited from
WebSocketClient
def run(): Unit
Inherited from
WebSocketClient
def send(x$0: ByteBuffer): Unit
Inherited from
WebSocketClient
def send(x$0: Array[Byte]): Unit
Inherited from
WebSocketClient
def send(x$0: String): Unit
Inherited from
WebSocketClient
def sendFragmentedFrame(x$0: Opcode, x$1: ByteBuffer, x$2: Boolean): Unit
Inherited from
WebSocketClient
def sendFrame(x$0: Collection[Framedata]): Unit
Inherited from
WebSocketClient
def sendFrame(x$0: Framedata): Unit
Inherited from
WebSocketClient
def sendPing(): Unit
Inherited from
WebSocketClient
def setAttachment[T <: <FromJavaObject>](x$0: T): Unit
Inherited from
WebSocketClient
def setConnectionLostTimeout(x$0: Int): Unit
Inherited from
AbstractWebSocket
def setDnsResolver(x$0: DnsResolver): Unit
Inherited from
WebSocketClient
def setProxy(x$0: Proxy): Unit
Inherited from
WebSocketClient
def setReuseAddr(x$0: Boolean): Unit
Inherited from
AbstractWebSocket
def setSocketFactory(x$0: SocketFactory): Unit
Inherited from
WebSocketClient
def setTcpNoDelay(x$0: Boolean): Unit
Inherited from
AbstractWebSocket

Deprecated and Inherited methods

@Deprecated @deprecated("see corresponding Javadoc for more information.", "")
def setSocket(x$0: Socket): Unit
Deprecated
Inherited from
WebSocketClient

Concrete fields

final val start: Resource[F, Unit]