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