public class IdempotentClosedConnection extends 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,
String closeMessage) |
void |
abort(int closeCode,
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,
String closeMessage) |
void |
close(int closeCode,
String closeMessage,
int timeout) |
com.rabbitmq.client.Channel |
createChannel() |
com.rabbitmq.client.Channel |
createChannel(int channelNumber) |
InetAddress |
getAddress() |
int |
getChannelMax() |
Map<String,Object> |
getClientProperties() |
String |
getClientProvidedName() |
com.rabbitmq.client.ShutdownSignalException |
getCloseReason() |
com.rabbitmq.client.Connection |
getDelegate() |
com.rabbitmq.client.ExceptionHandler |
getExceptionHandler() |
int |
getFrameMax() |
int |
getHeartbeat() |
String |
getId() |
int |
getPort() |
Map<String,Object> |
getServerProperties() |
boolean |
isOpen() |
void |
notifyListeners() |
boolean |
removeBlockedListener(com.rabbitmq.client.BlockedListener listener) |
void |
removeShutdownListener(com.rabbitmq.client.ShutdownListener listener) |
void |
setId(String id) |
public IdempotentClosedConnection(com.rabbitmq.client.Connection delegate)
public com.rabbitmq.client.Connection getDelegate()
public 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 Map<String,Object> getClientProperties()
getClientProperties in interface com.rabbitmq.client.Connection@Nullable public String getClientProvidedName()
getClientProvidedName in interface com.rabbitmq.client.Connectionpublic Map<String,Object> getServerProperties()
getServerProperties in interface com.rabbitmq.client.Connection@Nullable public com.rabbitmq.client.Channel createChannel() throws IOException
createChannel in interface com.rabbitmq.client.ConnectionIOException@Nullable public com.rabbitmq.client.Channel createChannel(int channelNumber) throws IOException
createChannel in interface com.rabbitmq.client.ConnectionIOExceptionpublic void close()
throws IOException
close in interface com.rabbitmq.client.Connectionclose in interface Closeableclose in interface AutoCloseableIOExceptionpublic void close(int closeCode,
String closeMessage)
throws IOException
close in interface com.rabbitmq.client.ConnectionIOExceptionpublic void close(int timeout)
throws IOException
close in interface com.rabbitmq.client.ConnectionIOExceptionpublic void close(int closeCode,
String closeMessage,
int timeout)
throws IOException
close in interface com.rabbitmq.client.ConnectionIOExceptionpublic void abort()
abort in interface com.rabbitmq.client.Connectionpublic void abort(int closeCode,
String closeMessage)
abort in interface com.rabbitmq.client.Connectionpublic void abort(int timeout)
abort in interface com.rabbitmq.client.Connectionpublic void abort(int closeCode,
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 String getId()
getId in interface com.rabbitmq.client.Connectionpublic void setId(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.ShutdownNotifier@Nullable public 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