org.jgroups.blocks.cs.ReceiverAdapter Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
package org.jgroups.blocks.cs;
import org.jgroups.Address;
import java.io.DataInput;
/**
* An impl of {@link Receiver}. Will get removed with the switch to Java 8; instead we'll use a default impl in Receiver
* @author Bela Ban
* @since 3.6.5
*/
public class ReceiverAdapter implements Receiver {
public void receive(Address sender, byte[] buf, int offset, int length) {
}
public void receive(Address sender, DataInput in) throws Exception {
}
}