diff options
Diffstat (limited to 'java/broker/src/main')
| -rw-r--r-- | java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolSession.java | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolSession.java b/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolSession.java index a75627d240..b1ed999f72 100644 --- a/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolSession.java +++ b/java/broker/src/main/java/org/apache/qpid/server/protocol/AMQProtocolSession.java @@ -27,8 +27,9 @@ import org.apache.qpid.AMQException; import javax.security.sasl.SaslServer; +import org.apache.qpid.protocol.AMQProtocolWriter; -public interface AMQProtocolSession +public interface AMQProtocolSession extends AMQProtocolWriter { /** * Called when a protocol data block is received @@ -37,11 +38,13 @@ public interface AMQProtocolSession */ void dataBlockReceived(AMQDataBlock message) throws Exception; - /** - * Write a datablock, encoding where necessary (e.g. into a sequence of bytes) - * @param frame the frame to be encoded and written - */ - void writeFrame(AMQDataBlock frame); +// This is now a part of AMQProtocolWriter (inherited) to provide uniformity across both +// client and server. +// /** +// * Write a datablock, encoding where necessary (e.g. into a sequence of bytes) +// * @param frame the frame to be encoded and written +// */ +// void writeFrame(AMQDataBlock frame); /** * Get the context key associated with this session. Context key is described |
