public class DataReceiver extends Receiver
Constructor and Description |
---|
DataReceiver(int selfID,
ServerConn conn,
EventQueue queue,
DataMap map,
byte commandType) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleData(ServerConn conn)
Defines how to handle the Data
|
getCommandType, getDataMap, getEventQueue, run
public DataReceiver(int selfID, ServerConn conn, EventQueue queue, DataMap map, byte commandType)
protected void handleData(ServerConn conn) throws java.lang.Exception
handleData
in class Receiver
conn
- the Connection objectjava.lang.Exception