Package com.germancoding.packetapi
Class Process
- java.lang.Object
-
- com.germancoding.packetapi.Process
-
public class Process extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Process.ActionType
-
Constructor Summary
Constructors Constructor Description Process(Process.ActionType type, short packetID, Packet packet, PacketHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketHandler
getHandler()
Packet
getPacket()
short
getPacketID()
Process.ActionType
getType()
void
setHandler(PacketHandler handler)
void
setPacket(Packet packet)
void
setPacketID(short packetID)
void
setType(Process.ActionType type)
-
-
-
Constructor Detail
-
Process
public Process(Process.ActionType type, short packetID, Packet packet, PacketHandler handler)
-
-
Method Detail
-
getType
public Process.ActionType getType()
-
setType
public void setType(Process.ActionType type)
-
getPacketID
public short getPacketID()
-
setPacketID
public void setPacketID(short packetID)
-
getPacket
public Packet getPacket()
-
setPacket
public void setPacket(Packet packet)
-
getHandler
public PacketHandler getHandler()
-
setHandler
public void setHandler(PacketHandler handler)
-
-