Package | Description |
---|---|
io.socket.engineio.server |
Main engine.io classes.
|
io.socket.engineio.server.parser |
Parser classes used by engine.io.
|
io.socket.engineio.server.transport |
Transport classes used by engine.io.
|
Modifier and Type | Method and Description |
---|---|
Packet<?> |
EngineIoServerOptions.getInitialPacket()
Gets the initial packet option.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Transport.onPacket(Packet<?> packet)
Called by child to indicate a packet receive from remote client.
|
void |
EngineIoSocket.send(Packet<?> packet)
Send a packet to the remote client.
|
EngineIoServerOptions |
EngineIoServerOptions.setInitialPacket(Packet<?> initialPacket)
Sets the initial packet.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Transport.send(List<Packet<?>> packets)
Send a list of packets over the transport.
|
Modifier and Type | Field and Description |
---|---|
static Packet<String> |
Parser.ERROR_PACKET |
Modifier and Type | Method and Description |
---|---|
Packet<?> |
Parser.decodePacket(Object data) |
Packet<?> |
ParserV3.decodePacket(Object data)
Decode a packet received from transport.
|
Packet<?> |
ParserV4.decodePacket(Object data)
Decode a packet received from transport.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Parser.DecodePayloadCallback.call(Packet<T> packet,
int index,
int total) |
static void |
ParserV3.encodeByteArray(Packet<byte[]> packet,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback) |
static void |
ParserV4.encodeByteArray(Packet<byte[]> packet,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback) |
void |
Parser.encodePacket(Packet<?> packet,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback) |
void |
ParserV3.encodePacket(Packet<?> packet,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback)
Encode a packet for transfer over transport.
|
void |
ParserV4.encodePacket(Packet<?> packet,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback)
Encode a packet for transfer over transport.
|
Modifier and Type | Method and Description |
---|---|
void |
Parser.encodePayload(List<Packet<?>> packets,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback) |
void |
ParserV3.encodePayload(List<Packet<?>> packets,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback)
Encode an array of packets into a payload for transfer over transport.
|
void |
ParserV4.encodePayload(List<Packet<?>> packets,
boolean supportsBinary,
Parser.EncodeCallback<Object> callback)
Encode an array of packets into a payload for transfer over transport.
|
void |
ParserV3.encodePayloadAsBinary(List<Packet<?>> packets,
Parser.EncodeCallback<Object> callback)
Encode an array of packets into a binary payload for transfer over transport.
|
Modifier and Type | Method and Description |
---|---|
void |
Polling.send(List<Packet<?>> packets) |
void |
WebSocket.send(List<Packet<?>> packets) |
Copyright © 2022. All rights reserved.