Skip navigation links
A B C D G H I M O S T U W 

A

adapter - Variable in class com.github.patrick.websocket.WebSocketClient
the adapter to handle this client

B

binary - Variable in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 

C

checked - Variable in class com.github.patrick.websocket.WebSocketClient
 
closedByServer - Variable in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
com.github.patrick.websocket - package com.github.patrick.websocket
 
com.github.patrick.websocket.event - package com.github.patrick.websocket.event
 
com.github.patrick.websocket.exception - package com.github.patrick.websocket.exception
 
com.github.patrick.websocket.plugin - package com.github.patrick.websocket.plugin
 
Companion - Static variable in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
Companion() - Constructor for class com.github.patrick.websocket.event.WebSocketBinaryEvent.Companion
 
Companion - Static variable in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
Companion() - Constructor for class com.github.patrick.websocket.event.WebSocketConnectedEvent.Companion
 
Companion - Static variable in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
Companion() - Constructor for class com.github.patrick.websocket.event.WebSocketDisconnectedEvent.Companion
 
Companion - Static variable in class com.github.patrick.websocket.event.WebSocketMessageEvent
 
Companion() - Constructor for class com.github.patrick.websocket.event.WebSocketMessageEvent.Companion
 
connect() - Method in class com.github.patrick.websocket.WebSocketClient
Try connecting to websocket
connected - Variable in class com.github.patrick.websocket.WebSocketClient
 
createUnsafeWebSocket(url) - Static method in class com.github.patrick.websocket.WebSocketAPI
Creates a websocket client without tls support. This method throws WebSocketNoResponseException when websocket has no response.
createUnsafeWebSocket(url, tls, suppress) - Static method in class com.github.patrick.websocket.WebSocketAPI
Creates a websocket client with tls option. This method throws WebSocketNoResponseException when websocket has no response.
createWebSocket(url) - Static method in class com.github.patrick.websocket.WebSocketAPI
Creates a websocket client without tls support. Returns null when websocket has no response.
createWebSocket(url, tls, suppress) - Static method in class com.github.patrick.websocket.WebSocketAPI
Creates a websocket client with tls option. Returns null when websocket has no response.

D

disconnect() - Method in class com.github.patrick.websocket.WebSocketClient
Disconnect from websocket

G

getAdapter() - Method in class com.github.patrick.websocket.WebSocketClient
the adapter to handle this client
getBinary() - Method in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
getChecked() - Method in class com.github.patrick.websocket.WebSocketClient
 
getClosedByServer() - Method in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
getConnected() - Method in class com.github.patrick.websocket.WebSocketClient
 
getHandlerList() - Method in class com.github.patrick.websocket.event.WebSocketBinaryEvent.Companion
 
getHandlerList() - Static method in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
getHandlerList() - Method in class com.github.patrick.websocket.event.WebSocketConnectedEvent.Companion
 
getHandlerList() - Static method in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
getHandlerList() - Method in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent.Companion
 
getHandlerList() - Static method in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
getHandlerList() - Method in class com.github.patrick.websocket.event.WebSocketMessageEvent.Companion
 
getHandlerList() - Static method in class com.github.patrick.websocket.event.WebSocketMessageEvent
 
getHandlers() - Method in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
getHandlers() - Method in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
getHandlers() - Method in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
getHandlers() - Method in class com.github.patrick.websocket.event.WebSocketMessageEvent
 
getHeaders() - Method in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
getMessage() - Method in class com.github.patrick.websocket.event.WebSocketMessageEvent
 
getSocket() - Method in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
getSocket() - Method in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
getSocket() - Method in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
getSocket() - Method in class com.github.patrick.websocket.event.WebSocketMessageEvent
 
getSocket() - Method in class com.github.patrick.websocket.WebSocketClient
 
getSuppress() - Method in class com.github.patrick.websocket.WebSocketClient
 
getTls() - Method in class com.github.patrick.websocket.WebSocketClient
whether to use tls support
getUrl() - Method in class com.github.patrick.websocket.WebSocketClient
the websocket url
getWebsocket() - Method in class com.github.patrick.websocket.event.WebSocketEvent
event

H

handlerList - Static variable in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
handlerList - Static variable in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
handlerList - Static variable in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
handlerList - Static variable in class com.github.patrick.websocket.event.WebSocketMessageEvent
 
headers - Variable in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 

I

INSTANCE - Static variable in class com.github.patrick.websocket.WebSocketAPI
This API object provides simple WebSocket client for Bukkit plugins.

M

message - Variable in class com.github.patrick.websocket.event.WebSocketMessageEvent
 

O

onBinaryMessage(socket, binary) - Method in class com.github.patrick.websocket.WebSocketHandler
On binary receive
onConnected(socket, headers) - Method in class com.github.patrick.websocket.WebSocketHandler
On connect
onDisconnected(socket, serverCloseFrame, clientCloseFrame, closedByServer) - Method in class com.github.patrick.websocket.WebSocketHandler
On disconnect
onTextMessage(socket, message) - Method in class com.github.patrick.websocket.WebSocketHandler
On message receive

S

send(message) - Method in class com.github.patrick.websocket.WebSocketClient
Send text to websocket
send(binary) - Method in class com.github.patrick.websocket.WebSocketClient
Send binary to websocket
setChecked(p) - Method in class com.github.patrick.websocket.WebSocketClient
 
setConnected(p) - Method in class com.github.patrick.websocket.WebSocketClient
 
setSocket(p) - Method in class com.github.patrick.websocket.WebSocketClient
 
socket - Variable in class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
socket - Variable in class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
socket - Variable in class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
socket - Variable in class com.github.patrick.websocket.event.WebSocketMessageEvent
 
socket - Variable in class com.github.patrick.websocket.WebSocketClient
 
suppress - Variable in class com.github.patrick.websocket.WebSocketClient
 

T

tls - Variable in class com.github.patrick.websocket.WebSocketClient
whether to use tls support

U

url - Variable in class com.github.patrick.websocket.WebSocketClient
the websocket url

W

websocket - Variable in class com.github.patrick.websocket.event.WebSocketEvent
event
WebSocketAPI - Class in com.github.patrick.websocket
This API object provides simple WebSocket client for Bukkit plugins.
WebSocketAPI() - Constructor for class com.github.patrick.websocket.WebSocketAPI
This API object provides simple WebSocket client for Bukkit plugins.
WebSocketBinaryEvent - Class in com.github.patrick.websocket.event
 
WebSocketBinaryEvent(socket, binary) - Constructor for class com.github.patrick.websocket.event.WebSocketBinaryEvent
 
WebSocketBinaryEvent.Companion - Class in com.github.patrick.websocket.event
 
WebSocketClient - Class in com.github.patrick.websocket
This class represents the client itself.
WebSocketClient(url, adapter, tls, suppress) - Constructor for class com.github.patrick.websocket.WebSocketClient
This class represents the client itself.
WebSocketConnectedEvent - Class in com.github.patrick.websocket.event
 
WebSocketConnectedEvent(socket, headers) - Constructor for class com.github.patrick.websocket.event.WebSocketConnectedEvent
 
WebSocketConnectedEvent.Companion - Class in com.github.patrick.websocket.event
 
WebSocketDisconnectedEvent - Class in com.github.patrick.websocket.event
 
WebSocketDisconnectedEvent(socket, closedByServer) - Constructor for class com.github.patrick.websocket.event.WebSocketDisconnectedEvent
 
WebSocketDisconnectedEvent.Companion - Class in com.github.patrick.websocket.event
 
WebSocketEvent - Class in com.github.patrick.websocket.event
Websocket event abstract class
WebSocketEvent(websocket) - Constructor for class com.github.patrick.websocket.event.WebSocketEvent
Websocket event abstract class
WebSocketHandler - Class in com.github.patrick.websocket
Handles websocket events
WebSocketHandler() - Constructor for class com.github.patrick.websocket.WebSocketHandler
Handles websocket events
WebSocketMessageEvent - Class in com.github.patrick.websocket.event
 
WebSocketMessageEvent(socket, message) - Constructor for class com.github.patrick.websocket.event.WebSocketMessageEvent
 
WebSocketMessageEvent.Companion - Class in com.github.patrick.websocket.event
 
WebSocketNoResponseException - Exception in com.github.patrick.websocket.exception
Thrown when websocket has no response
WebSocketNoResponseException(message) - Constructor for exception com.github.patrick.websocket.exception.WebSocketNoResponseException
Thrown when websocket has no response
WebSocketPlugin - Class in com.github.patrick.websocket.plugin
 
WebSocketPlugin() - Constructor for class com.github.patrick.websocket.plugin.WebSocketPlugin
 
A B C D G H I M O S T U W 
Skip navigation links