use of org.jgroups.blocks.cs.ReceiverAdapter in project JGroups by belaban.
the class ServerUnitTest method testSendEmptyData.
public void testSendEmptyData() throws Exception {
for (boolean nio : new boolean[] { false, true }) {
try (BaseServer a = create(nio, 0)) {
byte[] data = new byte[0];
Address myself = a.localAddress();
a.receiver(new ReceiverAdapter() {
});
send(data, a, myself);
}
}
}
Aggregations