Java com.rabbitmq.client Connection fields, constructors, methods, implement or subclass

Example usage for Java com.rabbitmq.client Connection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.rabbitmq.client Connection.

The text is from its open source code.

Implementation

com.rabbitmq.client.Connection has the following implementations.
Click this link to see all its implementation.

Method

voidabort(int timeout)
Abort this connection and all its channels with the com.rabbitmq.client.AMQP#REPLY_SUCCESS close code and message 'OK'.
voidabort()
Abort this connection and all its channels with the com.rabbitmq.client.AMQP#REPLY_SUCCESS close code and message 'OK'.
voidabort(int closeCode, String closeMessage)
Abort this connection and all its channels.
voidabort(int closeCode, String closeMessage, int timeout)
Abort this connection and all its channels.
voidaddBlockedListener(BlockedListener listener)
Add a BlockedListener .
voidclose()
Close this connection and all its channels with the com.rabbitmq.client.AMQP#REPLY_SUCCESS close code and message 'OK'.
voidclose(int closeCode, String closeMessage)
Close this connection and all its channels.
voidclose(int timeout)
Close this connection and all its channels with the com.rabbitmq.client.AMQP#REPLY_SUCCESS close code and message 'OK'.
voidclose(int closeCode, String closeMessage, int timeout)
Close this connection and all its channels.
ChannelcreateChannel()
Create a new channel, using an internally allocated channel number.
ChannelcreateChannel(int channelNumber)
Create a new channel, using the specified channel number if possible.
InetAddressgetAddress()
Retrieve the host.
MapgetClientProperties()
Get a copy of the map of client properties sent to the server
intgetPort()
Retrieve the port number.
MapgetServerProperties()
Retrieve the server properties.
voidsetId(String id)
Sets a unique ID for this connection.