|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.services.ServiceRef
ServiceRef wraps the native Rendezvous ServiceInfo and provides a reference to the service that hides a direct reference to Rendezvous.
| Method Summary | |
boolean |
equals(java.lang.Object other)
Override equals to compare the wrapped service info instances. |
protected static java.lang.String |
getBaseName(java.lang.String fullName,
java.lang.String fullType)
Internally used to strip the type information from the name to get just the base name. |
protected static java.lang.String |
getBaseType(java.lang.String fullType)
Internally used to strip the communication protocol and DNS address from the full type name. |
java.lang.String |
getFullType()
Get the fully qualified type |
protected static java.lang.String |
getFullType(java.lang.String baseType)
Internally used to construct the full rendezvous type from the simple base type. |
java.lang.String |
getRawName()
Get the unique raw name of the service provider. |
java.lang.String |
getServiceName()
Get the name of the service. |
java.lang.String |
getType()
Get the type of service provided. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getServiceName()
public java.lang.String getRawName()
public java.lang.String getType()
public java.lang.String getFullType()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - The other service reference against which to compare this one.
protected static java.lang.String getBaseType(java.lang.String fullType)
fullType - The full rendezvous type (e.g. "greeting._tcp._local.")
protected static java.lang.String getBaseName(java.lang.String fullName,
java.lang.String fullType)
fullName - The full rendezvous name (e.g. "Mary.greeting._tcp._local.")fullType - The full rendezvous type (e.g. "greeting._tcp._local.")
protected static java.lang.String getFullType(java.lang.String baseType)
baseType - The simple base type (e.g. "greeting")
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||