public class IdempotentClosedConnection
extends java.lang.Object
implements com.rabbitmq.client.Connection
| Constructor and Description |
|---|
IdempotentClosedConnection(com.rabbitmq.client.Connection delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
abort(int timeout) |
void |
abort(int closeCode,
java.lang.String closeMessage) |
void |
abort(int closeCode,
java.lang.String closeMessage,
int timeout) |
com.rabbitmq.client.BlockedListener |
addBlockedListener(com.rabbitmq.client.BlockedCallback blockedCallback,
com.rabbitmq.client.UnblockedCallback unblockedCallback) |
void |
addBlockedListener(com.rabbitmq.client.BlockedListener listener) |
void |
addShutdownListener(com.rabbitmq.client.ShutdownListener listener) |
void |
clearBlockedListeners() |
void |
close() |
void |
close(int timeout) |
void |
close(int closeCode,
java.lang.String closeMessage) |
void |
close(int closeCode,
java.lang.String closeMessage,
int timeout) |
com.rabbitmq.client.Channel |
createChannel() |
com.rabbitmq.client.Channel |
createChannel(int channelNumber) |
java.net.InetAddress |
getAddress() |
int |
getChannelMax() |
java.util.Map<java.lang.String,java.lang.Object> |
getClientProperties() |
java.lang.String |
getClientProvidedName() |
com.rabbitmq.client.ShutdownSignalException |
getCloseReason() |
com.rabbitmq.client.Connection |
getDelegate() |
com.rabbitmq.client.ExceptionHandler |
getExceptionHandler() |
int |
getFrameMax() |
int |
getHeartbeat() |
java.lang.String |
getId() |
int |
getPort() |
java.util.Map<java.lang.String,java.lang.Object> |
getServerProperties() |
boolean |
isOpen() |
void |
notifyListeners() |
boolean |
removeBlockedListener(com.rabbitmq.client.BlockedListener listener) |
void |
removeShutdownListener(com.rabbitmq.client.ShutdownListener listener) |
void |
setId(java.lang.String id) |
public IdempotentClosedConnection(com.rabbitmq.client.Connection delegate)
public com.rabbitmq.client.Connection getDelegate()
public java.net.InetAddress getAddress()
getAddress in interface com.rabbitmq.client.Connectionpublic int getPort()
getPort in interface com.rabbitmq.client.Connectionpublic int getChannelMax()
getChannelMax in interface com.rabbitmq.client.Connectionpublic int getFrameMax()
getFrameMax in interface com.rabbitmq.client.Connectionpublic int getHeartbeat()
getHeartbeat in interface com.rabbitmq.client.Connectionpublic java.util.Map<java.lang.String,java.lang.Object> getClientProperties()
getClientProperties in interface com.rabbitmq.client.Connectionpublic java.lang.String getClientProvidedName()
getClientProvidedName in interface com.rabbitmq.client.Connectionpublic java.util.Map<java.lang.String,java.lang.Object> getServerProperties()
getServerProperties in interface com.rabbitmq.client.Connectionpublic com.rabbitmq.client.Channel createChannel()
throws java.io.IOException
createChannel in interface com.rabbitmq.client.Connectionjava.io.IOExceptionpublic com.rabbitmq.client.Channel createChannel(int channelNumber)
throws java.io.IOException
createChannel in interface com.rabbitmq.client.Connectionjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface com.rabbitmq.client.Connectionclose in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void close(int closeCode,
java.lang.String closeMessage)
throws java.io.IOException
close in interface com.rabbitmq.client.Connectionjava.io.IOExceptionpublic void close(int timeout)
throws java.io.IOException
close in interface com.rabbitmq.client.Connectionjava.io.IOExceptionpublic void close(int closeCode,
java.lang.String closeMessage,
int timeout)
throws java.io.IOException
close in interface com.rabbitmq.client.Connectionjava.io.IOExceptionpublic void abort()
abort in interface com.rabbitmq.client.Connectionpublic void abort(int closeCode,
java.lang.String closeMessage)
abort in interface com.rabbitmq.client.Connectionpublic void abort(int timeout)
abort in interface com.rabbitmq.client.Connectionpublic void abort(int closeCode,
java.lang.String closeMessage,
int timeout)
abort in interface com.rabbitmq.client.Connectionpublic void addBlockedListener(com.rabbitmq.client.BlockedListener listener)
addBlockedListener in interface com.rabbitmq.client.Connectionpublic com.rabbitmq.client.BlockedListener addBlockedListener(com.rabbitmq.client.BlockedCallback blockedCallback,
com.rabbitmq.client.UnblockedCallback unblockedCallback)
addBlockedListener in interface com.rabbitmq.client.Connectionpublic boolean removeBlockedListener(com.rabbitmq.client.BlockedListener listener)
removeBlockedListener in interface com.rabbitmq.client.Connectionpublic void clearBlockedListeners()
clearBlockedListeners in interface com.rabbitmq.client.Connectionpublic com.rabbitmq.client.ExceptionHandler getExceptionHandler()
getExceptionHandler in interface com.rabbitmq.client.Connectionpublic java.lang.String getId()
getId in interface com.rabbitmq.client.Connectionpublic void setId(java.lang.String id)
setId in interface com.rabbitmq.client.Connectionpublic void addShutdownListener(com.rabbitmq.client.ShutdownListener listener)
addShutdownListener in interface com.rabbitmq.client.ShutdownNotifierpublic void removeShutdownListener(com.rabbitmq.client.ShutdownListener listener)
removeShutdownListener in interface com.rabbitmq.client.ShutdownNotifierpublic com.rabbitmq.client.ShutdownSignalException getCloseReason()
getCloseReason in interface com.rabbitmq.client.ShutdownNotifierpublic void notifyListeners()
notifyListeners in interface com.rabbitmq.client.ShutdownNotifierpublic boolean isOpen()
isOpen in interface com.rabbitmq.client.ShutdownNotifier