void issueCredits(int credits, boolean drain) throws org.eris.messaging.TransportException { if (drain) { _protonReceiver.setDrain(true); } _protonReceiver.flow(credits); _ssn.write(); }
void cancelPrevCredits() throws org.eris.messaging.TransportException { _protonReceiver.flow(0); _ssn.write(); }
@Override public void close() throws org.eris.messaging.TransportException { _ssn.closeLink(_protonReceiver); }