public abstract class AbstractPacket extends Object implements IPacket
| Constructor and Description |
|---|
AbstractPacket() |
AbstractPacket(PacketType type) |
AbstractPacket(PacketType type,
String sessionId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonpIndexParam() |
String |
getOrigin() |
String |
getSessionId() |
TransportType |
getTransportType() |
PacketType |
getType()
the type of the packet
packet type is the prefix transfered on the wire
|
void |
setJsonpIndexParam(String jsonpIndexParam) |
void |
setOrigin(String origin) |
void |
setSessionId(String sessionId) |
void |
setTransportType(TransportType transportType) |
String |
toString() |
public AbstractPacket()
public AbstractPacket(PacketType type)
public AbstractPacket(PacketType type, String sessionId)
public PacketType getType()
IPacketgetType in interface IPacketPacketTypepublic void setSessionId(String sessionId)
setSessionId in interface IPacketpublic String getSessionId()
getSessionId in interface IPacketpublic void setTransportType(TransportType transportType)
setTransportType in interface IPacketpublic TransportType getTransportType()
getTransportType in interface IPacketpublic String getJsonpIndexParam()
getJsonpIndexParam in interface IPacketpublic void setJsonpIndexParam(String jsonpIndexParam)
setJsonpIndexParam in interface IPacketCopyright © 2012–2016. All rights reserved.