public interface AutoBinding extends MementoSupport
| Modifier and Type | Method and Description |
|---|---|
void |
addAutoBindingListener(AutoBindingAndOutgoingDiscoveryInfoListener bindingListener,
NetworkChangeListener networkChangeListener)
Add a
AutoBindingAndOutgoingDiscoveryInfoListener to the AutoBinding. |
java.lang.String |
getCommunicationManagerId()
Returns the
CommunicationManager id. |
CredentialInfo |
getCredentialInfo()
Returns the
CredentialInfo. |
java.lang.Integer |
getKey()
Returns the unique key of a
AutoBinding. |
void |
removeAutoBindingListener(AutoBindingAndOutgoingDiscoveryInfoListener bindingListener,
NetworkChangeListener networkChangeListener)
Remove
AutoBindingAndOutgoingDiscoveryInfoListener from the AutoBinding. |
void |
setCredentialInfo(CredentialInfo credentialInfo)
Sets the
CredentialInfo if given CredentialInfo is not null or CredentialInfo.EMPTY_CREDENTIAL_INFO. |
readFromMemento, saveToMementojava.lang.String getCommunicationManagerId()
CommunicationManager id.CommunicationManager idCredentialInfo getCredentialInfo()
CredentialInfo.CredentialInfovoid setCredentialInfo(CredentialInfo credentialInfo)
CredentialInfo if given CredentialInfo is not null or CredentialInfo.EMPTY_CREDENTIAL_INFO.credentialInfo - void addAutoBindingListener(AutoBindingAndOutgoingDiscoveryInfoListener bindingListener, NetworkChangeListener networkChangeListener)
AutoBindingAndOutgoingDiscoveryInfoListener to the AutoBinding. This
listener will be announced if changes for bindings are performed.listener - void removeAutoBindingListener(AutoBindingAndOutgoingDiscoveryInfoListener bindingListener, NetworkChangeListener networkChangeListener)
AutoBindingAndOutgoingDiscoveryInfoListener from the AutoBinding.listener - java.lang.Integer getKey()
AutoBinding.