|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.config.NetworkSettings
public class NetworkSettings
Network policy settings for a MessageDestination.
| Field Summary | |
|---|---|
static int |
DEFAULT_TIMEOUT
|
static String |
NETWORK_ELEMENT
|
static String |
SESSION_TIMEOUT
|
static String |
SUBSCRIPTION_TIMEOUT_MINUTES
|
| Constructor Summary | |
|---|---|
NetworkSettings()
Constructs a default NetworkSettings instance with
default session timeout. |
|
| Method Summary | |
|---|---|
String |
getClusterId()
Returns the cluster id. |
int |
getSubscriptionTimeoutMinutes()
Returns the subscription-timeout-minutes property. |
ThrottleSettings |
getThrottleSettings()
Returns the ThrottleSettings property. |
boolean |
isSharedBackend()
Returns the shared-backend property. |
boolean |
isSharedBackendSet()
Returns true if the shared backend has been set or false if it is still using the default. |
void |
setClusterId(String id)
Sets the cluster id. |
void |
setSharedBackend(boolean sharedBackend)
Sets the shared-backend property. |
void |
setSubscriptionTimeoutMinutes(int value)
Sets the subscription-timeout-minutes property which is the idle time in
minutes before a subscriber that no messages are being pushed to will be unsubscribed. |
void |
setThrottleSettings(ThrottleSettings value)
Sets the ThrottleSettings property. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NETWORK_ELEMENT
public static final String SUBSCRIPTION_TIMEOUT_MINUTES
public static final String SESSION_TIMEOUT
public static final int DEFAULT_TIMEOUT
| Constructor Detail |
|---|
public NetworkSettings()
NetworkSettings instance with
default session timeout.
| Method Detail |
|---|
public String getClusterId()
public void setClusterId(String id)
id - The cluster id.public int getSubscriptionTimeoutMinutes()
subscription-timeout-minutes property.
subscription-timeout-minutes property.public void setSubscriptionTimeoutMinutes(int value)
subscription-timeout-minutes property which is the idle time in
minutes before a subscriber that no messages are being pushed to will be unsubscribed.
A value of 0 will cause subscriptions to be kept alive as long as the associated FlexSession
they are created over is active.
value - The value to set the subscription-timeout-minutes property to.public boolean isSharedBackend()
shared-backend property.
shared-backend property.public void setSharedBackend(boolean sharedBackend)
shared-backend property.
sharedBackend - The value to set the shared-backend property to.public boolean isSharedBackendSet()
true if the shared backend has been set; false otherwise.public ThrottleSettings getThrottleSettings()
ThrottleSettings property.
ThrottleSettings property.public void setThrottleSettings(ThrottleSettings value)
ThrottleSettings property.
value - The value to set the ThrottleSettings property to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/config/NetworkSettings.html