File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
import java .net .ProtocolException ;
7
7
8
8
/**
9
- * Thrown to indicate that the peer does not support the wire protocol version
9
+ * Thrown to indicate that the server does not support the wire protocol version
10
10
* we requested immediately after opening the TCP socket.
11
11
*/
12
12
public class ProtocolVersionMismatchException extends ProtocolException
@@ -29,7 +29,7 @@ public Version getClientVersion()
29
29
return clientVersion ;
30
30
}
31
31
32
- /** The peer 's AMQP specification version. */
32
+ /** The server 's AMQP specification version. */
33
33
public Version getServerVersion ()
34
34
{
35
35
return serverVersion ;
@@ -47,7 +47,7 @@ public int getClientMinor()
47
47
return clientVersion .getMinor ();
48
48
}
49
49
50
- /** The peer 's AMQP specification major version. */
50
+ /** The server 's AMQP specification major version. */
51
51
public int getServerMajor ()
52
52
{
53
53
return serverVersion .getMajor ();
You can’t perform that action at this time.
0 commit comments