@MXBean(value=true) public interface EmitterModuleMXBean
The implementation of this interface emits
AttributeChangeNotification whenever the value
of isConnected() attribute changes.
| Modifier and Type | Method and Description |
|---|---|
String |
getLastFailure()
Returns the last failure encountered when receiving objects.
|
String |
getURL()
Gets the URL for connecting to the remote receiver module.
|
String |
getUsername()
Gets the user name to use to authenticate when connecting to the
remote receiver module.
|
boolean |
isConnected()
Returns true if the connection to the remote receiver is active.
|
void |
setPassword(String inPassword)
Sets the password to use to authenticate when connecting to the
remote receiver module.
|
void |
setURL(String inURL)
Sets the URL for connecting to the remote receiver module.
|
void |
setUsername(String inUsername)
Sets the user name to use to authenticate when connecting to the
remote receiver module.
|
String getURL()
void setURL(String inURL)
inURL - the URL value.IllegalStateException - if the module is started. The URL
can only be set when the module is not started.String getUsername()
void setUsername(String inUsername)
inUsername - the user name.IllegalStateException - if the module is started. The Username
can only be set when the module is not started.void setPassword(String inPassword)
inPassword - the password.IllegalStateException - if the module is started. The password
can only be set when the module is not started.boolean isConnected()
The bean emits attribute change notifications when this attribute value changes.
String getLastFailure()
Copyright © 2014. All Rights Reserved.