All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.rabbitmq.client.impl.NetworkConnection Maven / Gradle / Ivy

Go to download

The RabbitMQ Java client library allows Java applications to interface with RabbitMQ.

There is a newer version: 5.22.0
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy