|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtunes.zeroconf.spi.jmdns.JmDNSZeroConf
public class JmDNSZeroConf
| Constructor Summary | |
|---|---|
JmDNSZeroConf()
|
|
| Method Summary | |
|---|---|
ServiceContext |
getContext()
Return the ServiceContext that was passed into Service.startService(org.qtunes.core.ServiceContext) |
ZCServiceInfo[] |
list(java.lang.String type,
int ms)
Search for a maximum of ms ms for services of the specified type. |
ZCService |
register(java.lang.String type,
java.lang.String name,
int port,
java.util.Map<java.lang.String,java.lang.String> properties)
|
java.util.Map<java.lang.String,java.lang.Object> |
reportState()
Return a Map describing the state of this Service, for serialization back to any client that needs to know (eg webplayer) - so values should be serializable objects, eg Lists, Maps or simple objects. |
void |
startService(ServiceContext context)
Start the Service |
void |
stopService(ServiceContext context)
Stop the Service |
void |
unregister(ZCService service)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmDNSZeroConf()
| Method Detail |
|---|
public ZCService register(java.lang.String type,
java.lang.String name,
int port,
java.util.Map<java.lang.String,java.lang.String> properties)
register in interface ZeroConfpublic void unregister(ZCService service)
unregister in interface ZeroConf
public ZCServiceInfo[] list(java.lang.String type,
int ms)
ZeroConf
list in interface ZeroConfpublic void startService(ServiceContext context)
Service
startService in interface Servicecontext - the ServiceContext for this Servicepublic void stopService(ServiceContext context)
Service
stopService in interface Servicecontext - the ServiceContext for this Service (same as was passed into start)public ServiceContext getContext()
ServiceService.startService(org.qtunes.core.ServiceContext)
getContext in interface Servicepublic java.util.Map<java.lang.String,java.lang.Object> reportState()
Service
reportState in interface Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||