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