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