Package com.rabbitmq.client.impl
Interface NetworkConnection
-
- All Known Subinterfaces:
FrameHandler
- All Known Implementing Classes:
AMQConnection,AutorecoveringConnection,RecoveryAwareAMQConnection,SocketChannelFrameHandler,SocketFrameHandler
public interface NetworkConnection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddressgetAddress()Retrieve address of peer.InetAddressgetLocalAddress()Retrieve the local host.intgetLocalPort()Retrieve the local port number.intgetPort()Retrieve port number of peer.
-
-
-
Method Detail
-
getLocalAddress
InetAddress getLocalAddress()
Retrieve the local host.- Returns:
- the client socket address.
-
getLocalPort
int getLocalPort()
Retrieve the local port number.- Returns:
- the client socket port number
-
getAddress
InetAddress getAddress()
Retrieve address of peer.
-
getPort
int getPort()
Retrieve port number of peer.
-
-