Package jmri.util.zeroconf
Class ZeroConfClient.NetworkServiceListener
- java.lang.Object
-
- jmri.util.zeroconf.ZeroConfClient.NetworkServiceListener
-
- All Implemented Interfaces:
java.util.EventListener
,javax.jmdns.NetworkTopologyListener
,javax.jmdns.ServiceListener
- Enclosing class:
- ZeroConfClient
public static class ZeroConfClient.NetworkServiceListener extends java.lang.Object implements javax.jmdns.ServiceListener, javax.jmdns.NetworkTopologyListener
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NetworkServiceListener(java.lang.String service, ZeroConfClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
inetAddressAdded(javax.jmdns.NetworkTopologyEvent nte)
void
inetAddressRemoved(javax.jmdns.NetworkTopologyEvent nte)
void
serviceAdded(javax.jmdns.ServiceEvent se)
void
serviceRemoved(javax.jmdns.ServiceEvent se)
void
serviceResolved(javax.jmdns.ServiceEvent se)
-
-
-
Constructor Detail
-
NetworkServiceListener
protected NetworkServiceListener(java.lang.String service, ZeroConfClient client)
-
-
Method Detail
-
inetAddressAdded
public void inetAddressAdded(javax.jmdns.NetworkTopologyEvent nte)
- Specified by:
inetAddressAdded
in interfacejavax.jmdns.NetworkTopologyListener
-
inetAddressRemoved
public void inetAddressRemoved(javax.jmdns.NetworkTopologyEvent nte)
- Specified by:
inetAddressRemoved
in interfacejavax.jmdns.NetworkTopologyListener
-
serviceAdded
public void serviceAdded(javax.jmdns.ServiceEvent se)
- Specified by:
serviceAdded
in interfacejavax.jmdns.ServiceListener
-
serviceRemoved
public void serviceRemoved(javax.jmdns.ServiceEvent se)
- Specified by:
serviceRemoved
in interfacejavax.jmdns.ServiceListener
-
serviceResolved
public void serviceResolved(javax.jmdns.ServiceEvent se)
- Specified by:
serviceResolved
in interfacejavax.jmdns.ServiceListener
-
-