com.rabbitmq.client.impl.NetworkConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of amqp-client Show documentation
Show all versions of amqp-client Show documentation
The RabbitMQ Java client library allows Java applications to interface with RabbitMQ.
package com.rabbitmq.client.impl;
import java.net.InetAddress;
public interface NetworkConnection {
/**
* Retrieve the local host.
* @return the client socket address.
*/
InetAddress getLocalAddress();
/**
* Retrieve the local port number.
* @return the client socket port number
*/
int getLocalPort();
/** Retrieve address of peer. */
InetAddress getAddress();
/** Retrieve port number of peer. */
int getPort();
}