|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DiscoveredServiceNotification
Interface for notification on discovered services.
DiscoveredServiceNotification objects are immutable.
| Field Summary | |
|---|---|
static int |
AVAILABLE
Deprecated. Notification indicating that a service matching the listening criteria has been discovered. |
static int |
MODIFIED
Deprecated. Notification indicating that the properties of a previously discovered service have changed. |
static int |
MODIFIED_ENDMATCH
Deprecated. Notification indicating that the properties of a previously discovered service have changed and the new properties no longer match the listener's filter. |
static int |
UNAVAILABLE
Deprecated. Notification indicating that a previously discovered service is no longer known to Discovery. |
| Method Summary | |
|---|---|
java.util.Collection |
getFilters()
Deprecated. Returns filters of the DiscoveredServiceTracker object
matching with the properties of the
ServiceEndpointDescription and thus caused the notification. |
java.util.Collection |
getInterfaces()
Deprecated. Returns interface name criteria of the DiscoveredServiceTracker
object matching with the interfaces of the
ServiceEndpointDescription and thus caused the notification. |
ServiceEndpointDescription |
getServiceEndpointDescription()
Deprecated. Returns information currently known to Discovery regarding
the service endpoint. |
int |
getType()
Deprecated. Returns the type of notification. |
| Field Detail |
|---|
static final int AVAILABLE
The value of AVAILABLE is 0x00000001.
static final int MODIFIED
The value of MODIFIED is 0x00000002.
static final int UNAVAILABLE
Discovery.
The value of UNAVAILABLE is 0x00000004.
static final int MODIFIED_ENDMATCH
The value of MODIFIED_ENDMATCH is 0x00000008.
| Method Detail |
|---|
ServiceEndpointDescription getServiceEndpointDescription()
Discovery regarding
the service endpoint.
Discovery notifies about. Is
never null.int getType()
java.util.Collection getInterfaces()
DiscoveredServiceTracker
object matching with the interfaces of the
ServiceEndpointDescription and thus caused the notification.
Collection (<String>) of matching interface
name criteria of the DiscoveredServiceTracker object
being notified, or an empty collection if notification hasn't
been caused by a matching interface name criteria.java.util.Collection getFilters()
DiscoveredServiceTracker object
matching with the properties of the
ServiceEndpointDescription and thus caused the notification.
Collection (<String>) of matching filters of
the DiscoveredServiceTracker object being notified,
or an empty collection if notification hasn't been caused by a
matching filter criteria.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||