|
|||||||||
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 channel number; 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 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 channel number |
int |
getRequestedFrameMax()
Retrieve the requested maximum frame size |
int |
getRequestedHeartbeat()
Retrieve the requested heartbeat interval. |
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 channel number |
void |
setRequestedFrameMax(int requestedFrameMax)
Set the requested maximum frame size |
void |
setRequestedHeartbeat(int requestedHeartbeat)
Set the requested heartbeat. |
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
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 channel number; zero for unlimited
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |