Skip navigation links
A B C D E F G H I J L M N O P R S T U 

A

ACK - Static variable in interface io.socket.socketio.server.parser.Parser
Packet type `ack`.
add(String) - Method in class io.socket.socketio.server.parser.IOParser.Decoder
 
add(byte[]) - Method in class io.socket.socketio.server.parser.IOParser.Decoder
 
add(String) - Method in interface io.socket.socketio.server.parser.Parser.Decoder
 
add(byte[]) - Method in interface io.socket.socketio.server.parser.Parser.Decoder
 
add(String, SocketIoSocket) - Method in class io.socket.socketio.server.SocketIoAdapter
Add a socket to the specified room.
add(String, SocketIoSocket) - Method in class io.socket.socketio.server.SocketIoMemoryAdapter
 
attachments - Variable in class io.socket.socketio.server.parser.Packet
 

B

Binary - Class in io.socket.socketio.server.parser
 
Binary() - Constructor for class io.socket.socketio.server.parser.Binary
 
Binary.DeconstructedPacket - Class in io.socket.socketio.server.parser
 
BINARY_ACK - Static variable in interface io.socket.socketio.server.parser.Parser
Packet type `binary ack`.
BINARY_EVENT - Static variable in interface io.socket.socketio.server.parser.Parser
Packet type `binary event`.
broadcast(Packet<?>, String[]) - Method in class io.socket.socketio.server.SocketIoAdapter
Broadcast a packet to all sockets or sockets that have joined specified rooms.
broadcast(Packet<?>, String[], String[]) - Method in class io.socket.socketio.server.SocketIoAdapter
Broadcast a packet to all sockets or sockets that have joined specified rooms.
broadcast(Packet, String[], String[]) - Method in class io.socket.socketio.server.SocketIoMemoryAdapter
 
broadcast(String, String, Object...) - Method in class io.socket.socketio.server.SocketIoNamespace
Broadcast a message to all clients in this namespace that have joined specified room.
broadcast(String[], String, Object[]) - Method in class io.socket.socketio.server.SocketIoNamespace
Broadcast a message to all clients in this namespace that have joined specified rooms.
broadcast(String, String, Object...) - Method in class io.socket.socketio.server.SocketIoSocket
Broadcast a message to all clients in this namespace that have joined specified room except this client.
broadcast(String[], String, Object[]) - Method in class io.socket.socketio.server.SocketIoSocket
Broadcast a message to all clients in this namespace that have joined specified rooms except this client.
buffers - Variable in class io.socket.socketio.server.parser.Binary.DeconstructedPacket
 

C

call(Packet) - Method in interface io.socket.socketio.server.parser.Parser.Decoder.Callback
 
call(Object[]) - Method in interface io.socket.socketio.server.parser.Parser.Encoder.Callback
 
checkNamespace(String) - Method in interface io.socket.socketio.server.SocketIoNamespaceProvider
Check if the namespace provided is valid.
CONNECT - Static variable in interface io.socket.socketio.server.parser.Parser
Packet type `connect`.
CONNECT_ERROR - Static variable in interface io.socket.socketio.server.parser.Parser
Packet type `error`.
createAdapter(SocketIoNamespace) - Method in interface io.socket.socketio.server.SocketIoAdapter.AdapterFactory
Create and return a new instance of adapter for a namespace.
createAdapter(SocketIoNamespace) - Method in class io.socket.socketio.server.SocketIoMemoryAdapter.Factory
 

D

data - Variable in class io.socket.socketio.server.parser.Packet
 
Decoder() - Constructor for class io.socket.socketio.server.parser.IOParser.Decoder
 
DecodingException - Exception in io.socket.socketio.server.parser
 
DecodingException(String) - Constructor for exception io.socket.socketio.server.parser.DecodingException
 
DeconstructedPacket() - Constructor for class io.socket.socketio.server.parser.Binary.DeconstructedPacket
 
deconstructPacket(Packet) - Static method in class io.socket.socketio.server.parser.Binary
 
DEFAULT - Static variable in class io.socket.socketio.server.SocketIoServerOptions
The default options used by server.
destroy() - Method in class io.socket.socketio.server.parser.IOParser.Decoder
 
destroy() - Method in interface io.socket.socketio.server.parser.Parser.Decoder
 
DISCONNECT - Static variable in interface io.socket.socketio.server.parser.Parser
Packet type `disconnect`.
disconnect(boolean) - Method in class io.socket.socketio.server.SocketIoSocket
Disconnect this socket.

E

encode(Packet, Parser.Encoder.Callback) - Method in class io.socket.socketio.server.parser.IOParser.Encoder
 
encode(Packet, Parser.Encoder.Callback) - Method in interface io.socket.socketio.server.parser.Parser.Encoder
 
Encoder() - Constructor for class io.socket.socketio.server.parser.IOParser.Encoder
 
equals(Object) - Method in class io.socket.socketio.server.SocketIoSocket
 
EVENT - Static variable in interface io.socket.socketio.server.parser.Parser
Packet type `event`.
event(String, Object...) - Method in interface io.socket.socketio.server.SocketIoSocket.AllEventListener
Called for any user events received.

F

Factory() - Constructor for class io.socket.socketio.server.SocketIoMemoryAdapter.Factory
 

G

getAdapter() - Method in class io.socket.socketio.server.SocketIoNamespace
Get the adapter for this namespace.
getAdapterFactory() - Method in class io.socket.socketio.server.SocketIoServerOptions
Gets the adapter factory instance.
getConnectData() - Method in class io.socket.socketio.server.SocketIoSocket
Gets the data packet sent while establishing the socket connection.
getConnectionTimeout() - Method in class io.socket.socketio.server.SocketIoServerOptions
Gets the amount of time to wait (ms) before a client without namespace is closed.
getId() - Method in class io.socket.socketio.server.SocketIoSocket
Gets the id of this socket.
getInitialHeaders() - Method in class io.socket.socketio.server.SocketIoSocket
Gets the headers of the initial HTTP connection.
getInitialQuery() - Method in class io.socket.socketio.server.SocketIoSocket
Gets the query parameters of the initial HTTP connection.
getName() - Method in class io.socket.socketio.server.SocketIoNamespace
Get the name of this namespace.
getNamespace() - Method in class io.socket.socketio.server.SocketIoSocket
Gets the namespace of this socket.
getServer() - Method in class io.socket.socketio.server.SocketIoNamespace
Get the server associated with this namespace.

H

HasBinary - Interface in io.socket.socketio.server.utils
 
hasBinary(Object) - Static method in interface io.socket.socketio.server.utils.HasBinary
 
hashCode() - Method in class io.socket.socketio.server.SocketIoSocket
 
hasNamespace(String) - Method in class io.socket.socketio.server.SocketIoServer
Checks if the given namespace has been created.

I

id - Variable in class io.socket.socketio.server.parser.Packet
 
io.socket.socketio.server - package io.socket.socketio.server
 
io.socket.socketio.server.parser - package io.socket.socketio.server.parser
 
io.socket.socketio.server.utils - package io.socket.socketio.server.utils
 
IOParser - Class in io.socket.socketio.server.parser
 
IOParser.Decoder - Class in io.socket.socketio.server.parser
 
IOParser.Encoder - Class in io.socket.socketio.server.parser
 

J

joinRoom(String...) - Method in class io.socket.socketio.server.SocketIoSocket
Adds the socket to the specified rooms.

L

leaveAllRooms() - Method in class io.socket.socketio.server.SocketIoSocket
Removes the socket from all rooms.
leaveRoom(String...) - Method in class io.socket.socketio.server.SocketIoSocket
Removes the socket from the specified rooms.
listClientRooms(SocketIoSocket) - Method in class io.socket.socketio.server.SocketIoAdapter
Get list of rooms joined by socket.
listClientRooms(SocketIoSocket) - Method in class io.socket.socketio.server.SocketIoMemoryAdapter
 
listClients(String) - Method in class io.socket.socketio.server.SocketIoAdapter
Get list of sockets in specified room.
listClients(String) - Method in class io.socket.socketio.server.SocketIoMemoryAdapter
 
lock() - Method in class io.socket.socketio.server.SocketIoServerOptions
Lock this options instance to prevent modifications.
logger - Static variable in interface io.socket.socketio.server.utils.HasBinary
 

M

mAdapter - Variable in class io.socket.socketio.server.SocketIoNamespace
 
mName - Variable in class io.socket.socketio.server.SocketIoNamespace
 
mNamespace - Variable in class io.socket.socketio.server.SocketIoAdapter
The namespace that this adapter serves.
mRoomSockets - Variable in class io.socket.socketio.server.SocketIoAdapter
Set of sockets contained within a room.
mServer - Variable in class io.socket.socketio.server.SocketIoNamespace
 
mSocketRooms - Variable in class io.socket.socketio.server.SocketIoAdapter
Set of rooms joined by a socket.

N

namespace(String) - Method in class io.socket.socketio.server.SocketIoServer
Retrieve instance of namespace with specified name.
namespace(SocketIoNamespaceProvider) - Method in class io.socket.socketio.server.SocketIoServer
 
namespace(Pattern) - Method in class io.socket.socketio.server.SocketIoServer
 
newFromDefault() - Static method in class io.socket.socketio.server.SocketIoServerOptions
Create a new instance of SocketIoServerOptions by copying default options.
nsp - Variable in class io.socket.socketio.server.parser.Packet
 

O

onDecoded(Parser.Decoder.Callback) - Method in class io.socket.socketio.server.parser.IOParser.Decoder
 
onDecoded(Parser.Decoder.Callback) - Method in interface io.socket.socketio.server.parser.Parser.Decoder
 
onReceivedByRemote(Object...) - Method in interface io.socket.socketio.server.SocketIoSocket.ReceivedByRemoteAcknowledgementCallback
Called when remote client calls ack callback.

P

packet - Variable in class io.socket.socketio.server.parser.Binary.DeconstructedPacket
 
Packet<T> - Class in io.socket.socketio.server.parser
 
Packet() - Constructor for class io.socket.socketio.server.parser.Packet
 
Packet(int) - Constructor for class io.socket.socketio.server.parser.Packet
 
Packet(int, T) - Constructor for class io.socket.socketio.server.parser.Packet
 
Parser - Interface in io.socket.socketio.server.parser
 
Parser.Decoder - Interface in io.socket.socketio.server.parser
 
Parser.Decoder.Callback - Interface in io.socket.socketio.server.parser
 
Parser.Encoder - Interface in io.socket.socketio.server.parser
 
Parser.Encoder.Callback - Interface in io.socket.socketio.server.parser
 
protocol - Static variable in interface io.socket.socketio.server.parser.Parser
 

R

reconstructPacket(Packet, byte[][]) - Static method in class io.socket.socketio.server.parser.Binary
 
registerAllEventListener(SocketIoSocket.AllEventListener) - Method in class io.socket.socketio.server.SocketIoSocket
Register listener for all user events.
remove(String, SocketIoSocket) - Method in class io.socket.socketio.server.SocketIoAdapter
Remove a socket from the specified room.
remove(String, SocketIoSocket) - Method in class io.socket.socketio.server.SocketIoMemoryAdapter
 

S

send(String, Object...) - Method in class io.socket.socketio.server.SocketIoSocket
Send data to remote client.
send(String, Object[], SocketIoSocket.ReceivedByRemoteAcknowledgementCallback) - Method in class io.socket.socketio.server.SocketIoSocket
Send data to remote client.
sendAcknowledgement(Object...) - Method in interface io.socket.socketio.server.SocketIoSocket.ReceivedByLocalAcknowledgementCallback
Call this method to send ack to remote client.
setAdapterFactory(SocketIoAdapter.AdapterFactory) - Method in class io.socket.socketio.server.SocketIoServerOptions
Sets the adapter factory instance.
setConnectionTimeout(long) - Method in class io.socket.socketio.server.SocketIoServerOptions
Sets the amount of time to wait (ms) before a client without namespace is closed.
SocketIoAdapter - Class in io.socket.socketio.server
Socket.io adapter class for broadcasts.
SocketIoAdapter(SocketIoNamespace) - Constructor for class io.socket.socketio.server.SocketIoAdapter
 
SocketIoAdapter.AdapterFactory - Interface in io.socket.socketio.server
Factory to create new instance of adapter.
SocketIoMemoryAdapter - Class in io.socket.socketio.server
In-memory adapter class.
SocketIoMemoryAdapter.Factory - Class in io.socket.socketio.server
Factory for SocketIoMemoryAdapter class.
SocketIoNamespace - Class in io.socket.socketio.server
Socket.io namespace class.
SocketIoNamespaceProvider - Interface in io.socket.socketio.server
Provides methods for checking validity of dynamic namespaces.
SocketIoServer - Class in io.socket.socketio.server
The socket.io server.
SocketIoServer(EngineIoServer) - Constructor for class io.socket.socketio.server.SocketIoServer
Create instance of server with default options.
SocketIoServer(EngineIoServer, SocketIoServerOptions) - Constructor for class io.socket.socketio.server.SocketIoServer
Create instance of server with provided options.
SocketIoServerOptions - Class in io.socket.socketio.server
Options for SocketIoServer
SocketIoSocket - Class in io.socket.socketio.server
Socket.io socket class.
SocketIoSocket.AllEventListener - Interface in io.socket.socketio.server
Callback for all user events received on socket.
SocketIoSocket.ReceivedByLocalAcknowledgementCallback - Interface in io.socket.socketio.server
Callback for local received acknowledgement.
SocketIoSocket.ReceivedByRemoteAcknowledgementCallback - Interface in io.socket.socketio.server
Callback for remote received acknowledgement.

T

type - Variable in class io.socket.socketio.server.parser.Packet
 
types - Static variable in interface io.socket.socketio.server.parser.Parser
Packet types.

U

unregisterAllEventListener(SocketIoSocket.AllEventListener) - Method in class io.socket.socketio.server.SocketIoSocket
Unregister listener registered with registerAllEventListener.
A B C D E F G H I J L M N O P R S T U 
Skip navigation links

Copyright © 2022. All rights reserved.