summaryrefslogtreecommitdiff
path: root/qpid/java/common
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2014-12-11 17:14:34 +0000
committerKeith Wall <kwall@apache.org>2014-12-11 17:14:34 +0000
commitd9514d45f11c92aef06b8b880e291f76fdbff2a2 (patch)
tree410c7d1ca116e70d0777b4c3a9e5a204d287432e /qpid/java/common
parent66c5a217c9891e1dfee14eeb093866373293f265 (diff)
downloadqpid-python-d9514d45f11c92aef06b8b880e291f76fdbff2a2.tar.gz
Extend credit managers to be aware of transport backpressue
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common')
-rw-r--r--qpid/java/common/src/main/java/org/apache/qpid/protocol/ServerProtocolEngine.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/protocol/ServerProtocolEngine.java b/qpid/java/common/src/main/java/org/apache/qpid/protocol/ServerProtocolEngine.java
index 5c6918e87d..35d262cdb3 100644
--- a/qpid/java/common/src/main/java/org/apache/qpid/protocol/ServerProtocolEngine.java
+++ b/qpid/java/common/src/main/java/org/apache/qpid/protocol/ServerProtocolEngine.java
@@ -30,4 +30,8 @@ public interface ServerProtocolEngine extends ProtocolEngine
long getConnectionId();
Subject getSubject();
+
+ boolean isTransportBlockedForWriting();
+
+ void setTransportBlockedForWriting(boolean blocked);
}