// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package transport; public abstract class Sender extends Transport { private boolean sending_allowed = true; public Sender() { } public final synchronized int send(byte[] var1, int var2, int var3) throws InterruptedException { while(!this.sending_allowed) { this.wait(); } return this.reliableSend(var1, var2, var3); } protected final synchronized void blockSender() { this.sending_allowed = false; } protected final synchronized void resumeSender() { this.sending_allowed = true; this.notifyAll(); } protected abstract int reliableSend(byte[] var1, int var2, int var3); public abstract void close(); }