java.lang.Object | |
↳ | com.rabbitmq.client.impl.SocketFrameHandler |
A socket-based frame handler.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | SOCKET_CLOSING_TIMEOUT | Time to linger before closing the socket forcefully. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Close the underlying data connection (complaint not permitted).
| |||||||||||
Retrieve address of peer.
| |||||||||||
Retrieve port number of peer.
| |||||||||||
Get the underlying socket's read timeout in milliseconds.
| |||||||||||
Read a
Frame from the underlying data connection. | |||||||||||
Send the initial connection header, thus kickstarting the AMQP
protocol version negotiation process and putting the underlying
connection in a state such that the next layer of startup can
proceed.
| |||||||||||
Write a 0-9-1-style connection header to the underlying socket,
containing the specified version information, kickstarting the
AMQP protocol version negotiation process.
| |||||||||||
Write a 0-8-style connection header to the underlying socket,
containing the specified version information, kickstarting the
AMQP protocol version negotiation process.
| |||||||||||
Set the underlying socket's read timeout in milliseconds, if applicable.
| |||||||||||
Write a
Frame to the underlying data connection. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.rabbitmq.client.impl.FrameHandler
|
Time to linger before closing the socket forcefully.
Close the underlying data connection (complaint not permitted).
Retrieve port number of peer.
Get the underlying socket's read timeout in milliseconds.
SocketException |
---|
Read a Frame
from the underlying data connection.
IOException |
---|
Send the initial connection header, thus kickstarting the AMQP protocol version negotiation process and putting the underlying connection in a state such that the next layer of startup can proceed.
IOException |
---|
Write a 0-9-1-style connection header to the underlying socket, containing the specified version information, kickstarting the AMQP protocol version negotiation process.
major | major protocol version number |
---|---|
minor | minor protocol version number |
revision | protocol revision number |
IOException | if there is a problem accessing the connection |
---|
Write a 0-8-style connection header to the underlying socket, containing the specified version information, kickstarting the AMQP protocol version negotiation process.
major | major protocol version number |
---|---|
minor | minor protocol version number |
IOException | if there is a problem accessing the connection |
---|
Set the underlying socket's read timeout in milliseconds, if applicable.
timeoutMs | The timeout in milliseconds |
---|
SocketException |
---|
Write a Frame
to the underlying data connection.
frame | the Frame to transmit |
---|
IOException |
---|