diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2008-07-10 01:15:43 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2008-07-10 01:15:43 +0000 |
| commit | d0e58803b1baba4d423c9054a28b12bb3b78ded8 (patch) | |
| tree | c6b6ccf03c6f48c4fbe2f1dcf4dac86a99f0df82 /qpid/java/client | |
| parent | 2a545d4432fb46adedc9fd899a42f69534d4a80a (diff) | |
| download | qpid-python-d0e58803b1baba4d423c9054a28b12bb3b78ded8.tar.gz | |
QPID-1062: moved channel id into the ProtocolEvent interface and removed ConnectionEvent, this removes the overhead of creating ConnectionEvents
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@675397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
| -rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpidity/nclient/Client.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpidity/nclient/Client.java b/qpid/java/client/src/main/java/org/apache/qpidity/nclient/Client.java index 1125d9d5cb..7de7c71d36 100644 --- a/qpid/java/client/src/main/java/org/apache/qpidity/nclient/Client.java +++ b/qpid/java/client/src/main/java/org/apache/qpidity/nclient/Client.java @@ -40,7 +40,6 @@ import org.apache.qpidity.transport.Connection; import org.apache.qpidity.transport.ConnectionClose; import org.apache.qpidity.transport.ConnectionCloseCode; import org.apache.qpidity.transport.ConnectionCloseOk; -import org.apache.qpidity.transport.ConnectionEvent; import org.apache.qpidity.transport.TransportConstants; import org.apache.qpidity.transport.ProtocolHeader; import org.apache.qpidity.transport.SessionDelegate; @@ -186,8 +185,8 @@ public class Client implements org.apache.qpidity.nclient.Connection } // XXX: hardcoded version numbers - _conn.send(new ConnectionEvent(0, new ProtocolHeader(1, TransportConstants.getVersionMajor(), - TransportConstants.getVersionMinor()))); + _conn.send(new ProtocolHeader(1, TransportConstants.getVersionMajor(), + TransportConstants.getVersionMinor())); try { |
