|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.serviceregistration.strategies.AppleStrategy
public class AppleStrategy
| Constructor Summary | |
|---|---|
AppleStrategy()
|
|
| Method Summary | |
|---|---|
void |
initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port)
Initialize the service registration strategy. |
void |
initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port,
java.util.Hashtable<java.lang.String,java.lang.String> properties)
Initialize the service registration strategy. |
void |
operationFailed(com.apple.dnssd.DNSSDService service,
int errorCode)
|
void |
register()
Register the service. |
void |
serviceRegistered(com.apple.dnssd.DNSSDRegistration registration,
int flags,
java.lang.String serviceName,
java.lang.String regType,
java.lang.String domain)
|
void |
unregister()
Unregister the service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AppleStrategy()
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port)
throws java.lang.Exception
ServiceRegistrationStrategy
initialize in interface ServiceRegistrationStrategyserviceType - the service type string (eg, "http")serviceName - the name of the service (eg, "My Service")port - the port the service is listening on
java.lang.Exception
public void initialize(java.lang.String serviceType,
java.lang.String serviceName,
int port,
java.util.Hashtable<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
ServiceRegistrationStrategy
initialize in interface ServiceRegistrationStrategyserviceType - the service type string (eg, "http")serviceName - the name of the service (eg, "My Service")port - the port the service is listening onproperties - other properties (eg, path = "/opennms")
java.lang.Exception
public void register()
throws java.lang.Exception
ServiceRegistrationStrategy
register in interface ServiceRegistrationStrategyjava.lang.Exception
public void unregister()
throws java.lang.Exception
ServiceRegistrationStrategy
unregister in interface ServiceRegistrationStrategyjava.lang.Exception
public void serviceRegistered(com.apple.dnssd.DNSSDRegistration registration,
int flags,
java.lang.String serviceName,
java.lang.String regType,
java.lang.String domain)
serviceRegistered in interface com.apple.dnssd.RegisterListener
public void operationFailed(com.apple.dnssd.DNSSDService service,
int errorCode)
operationFailed in interface com.apple.dnssd.BaseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||