|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rabbitmq.client.ConnectionParameters
public class ConnectionParameters
Properties bean to encapsulate parameters for a Connection.
| Field Summary | |
|---|---|
static int |
DEFAULT_CHANNEL_MAX
Default value for the desired maximum number of channels; zero for unlimited |
static int |
DEFAULT_FRAME_MAX
Default value for the desired maximum frame size; zero for unlimited |
static int |
DEFAULT_HEARTBEAT
Default value for desired heartbeat interval; zero for none |
static java.lang.String |
DEFAULT_PASS
Default password |
static boolean |
DEFAULT_SUPPRESS_ACCESS_REQUEST
Default value for suppressAccessRequest flag. |
static java.lang.String |
DEFAULT_USER
Default user name |
static java.lang.String |
DEFAULT_VHOST
Default virtual host |
| Constructor Summary | |
|---|---|
ConnectionParameters()
Instantiate a set of parameters with all values set to the defaults |
|
| Method Summary | |
|---|---|
java.lang.String |
getPassword()
Retrieve the password. |
int |
getRequestedChannelMax()
Retrieve the requested maximum number of channels |
int |
getRequestedFrameMax()
Retrieve the requested maximum frame size |
int |
getRequestedHeartbeat()
Retrieve the requested heartbeat interval. |
boolean |
getSuppressAccessRequest()
Retrieve the setting for the suppression of sending "access.request" methods. |
java.lang.String |
getUserName()
Retrieve the user name. |
java.lang.String |
getVirtualHost()
Retrieve the virtual host. |
void |
setPassword(java.lang.String password)
Set the password. |
void |
setRequestedChannelMax(int requestedChannelMax)
Set the requested maximum number of channels |
void |
setRequestedFrameMax(int requestedFrameMax)
Set the requested maximum frame size |
void |
setRequestedHeartbeat(int requestedHeartbeat)
Set the requested heartbeat. |
void |
setSuppressAccessRequest(boolean suppressAccessRequest)
Enable or disable the suppression of sending "access.request" methods. |
void |
setUsername(java.lang.String userName)
Set the user name. |
void |
setVirtualHost(java.lang.String virtualHost)
Set the virtual host. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_USER
public static final java.lang.String DEFAULT_PASS
public static final java.lang.String DEFAULT_VHOST
public static final int DEFAULT_CHANNEL_MAX
public static final int DEFAULT_FRAME_MAX
public static final int DEFAULT_HEARTBEAT
public static final boolean DEFAULT_SUPPRESS_ACCESS_REQUEST
| Constructor Detail |
|---|
public ConnectionParameters()
| Method Detail |
|---|
public java.lang.String getUserName()
public void setUsername(java.lang.String userName)
userName - the AMQP user name to use when connecting to the brokerpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the password to use when connecting to the brokerpublic java.lang.String getVirtualHost()
public void setVirtualHost(java.lang.String virtualHost)
virtualHost - the virtual host to use when connecting to the brokerpublic int getRequestedChannelMax()
public void setRequestedFrameMax(int requestedFrameMax)
requestedFrameMax - initially requested maximum frame size, in octets; zero for unlimitedpublic int getRequestedFrameMax()
public int getRequestedHeartbeat()
public void setRequestedHeartbeat(int requestedHeartbeat)
requestedHeartbeat - the initially requested heartbeat interval, in seconds; zero for nonepublic void setRequestedChannelMax(int requestedChannelMax)
requestedChannelMax - initially requested maximum number of channels; zero for unlimitedpublic boolean getSuppressAccessRequest()
public void setSuppressAccessRequest(boolean suppressAccessRequest)
suppressAccessRequest - true of "access.request" methods are suppressed, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||