use of com.hazelcast.spi.impl.PacketHandler in project hazelcast by hazelcast.
the class TcpIpConnection_BaseTest method setup.
@Before
public void setup() throws Exception {
super.setup();
packetsB = Collections.synchronizedList(new ArrayList<Packet>());
startAllConnectionManagers();
ioServiceB.packetHandler = new PacketHandler() {
@Override
public void handle(Packet packet) throws Exception {
packetsB.add(packet);
}
};
}
use of com.hazelcast.spi.impl.PacketHandler in project hazelcast by hazelcast.
the class TcpIpConnectionManager_TransmitTest method setup.
@Override
@Before
public void setup() throws Exception {
super.setup();
connManagerA.start();
ioServiceB.packetHandler = new PacketHandler() {
@Override
public void handle(Packet packet) throws Exception {
packetsB.add(packet);
}
};
}
Aggregations