public interface Binding
| Modifier and Type | Method and Description |
|---|---|
void |
addBindingListener(BindingListener listener)
Add
BindingListener to the Binding. |
java.lang.String |
getCommunicationManagerId()
Returns the ID as
String of the protocol/technology this binding corresponds to (e.g. |
CredentialInfo |
getCredentialInfo()
Returns the
CredentialInfo of this Binding. |
java.lang.Object |
getHostAddress() |
java.lang.Integer |
getKey()
Returns the unique key of the
Binding. |
boolean |
isUsable()
Returns whether the binding is usable.
|
void |
removeBindingListener(BindingListener listener)
Remove
BindingListener from the Binding. |
void |
setCredentialInfo(CredentialInfo credentialInfo)
Sets the
CredentialInfo if given CredentialInfo is not null or CredentialInfo.EMPTY_CREDENTIAL_INFO. |
java.lang.String getCommunicationManagerId()
String of the protocol/technology this binding corresponds to (e.g.
DPWS, UPNP, Bluetooth, etc.).CredentialInfo getCredentialInfo()
CredentialInfo of this Binding.void setCredentialInfo(CredentialInfo credentialInfo)
CredentialInfo if given CredentialInfo is not null or CredentialInfo.EMPTY_CREDENTIAL_INFO.credentialInfo - void addBindingListener(BindingListener listener)
BindingListener to the Binding. If changes are performed the listener will
be announced.listener - void removeBindingListener(BindingListener listener)
BindingListener from the Binding.listener - boolean isUsable()
java.lang.Integer getKey()
Binding.java.lang.Object getHostAddress()