| Package | Description |
|---|---|
| io.scalecube.socketio.packets |
| Modifier and Type | Method and Description |
|---|---|
PacketType |
IPacket.getType()
the type of the packet
packet type is the prefix transfered on the wire
|
PacketType |
AbstractPacket.getType() |
static PacketType |
PacketType.valueOf(int value) |
static PacketType |
PacketType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketType[] |
PacketType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
AbstractPacket(PacketType type) |
AbstractPacket(PacketType type,
String sessionId) |
Packet(PacketType type) |
Packet(PacketType type,
String sessionId) |
Copyright © 2012–2016. All rights reserved.