org.eclipse.ecf.provider.zookeeper.core
Class DiscoverdService

java.lang.Object
  extended by org.eclipse.ecf.discovery.ServiceInfo
      extended by org.eclipse.ecf.provider.zookeeper.core.DiscoverdService
All Implemented Interfaces:
java.io.Serializable, org.eclipse.core.runtime.IAdaptable, IServiceInfo

public class DiscoverdService
extends ServiceInfo

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.ecf.discovery.ServiceInfo
DEFAULT_PRIORITY, DEFAULT_TTL, DEFAULT_WEIGHT, priority, properties, serviceID, serviceName, timeToLive, UNKNOWN_PROTOCOL, weight
 
Constructor Summary
DiscoverdService(java.lang.String path, java.util.Map<java.lang.String,java.lang.Object> serviceData)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 void dispose()
           
 java.lang.String getAbsolutePath()
           
 java.lang.String getName()
           
 Namespace getNamespace()
           
 java.lang.String getNodeId()
           
 java.lang.String getPath()
           
 byte[] getPropertiesAsBytes()
           
 IService getWrappedService()
           
 boolean isLocalNode()
           
 void regenerateNodeId()
           
 java.lang.String toExternalForm()
           
 
Methods inherited from class org.eclipse.ecf.discovery.ServiceInfo
getAdapter, getLocation, getPriority, getServiceID, getServiceName, getServiceProperties, getTTL, getWeight, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiscoverdService

public DiscoverdService(java.lang.String path,
                        java.util.Map<java.lang.String,java.lang.Object> serviceData)
Method Detail

dispose

public void dispose()

getNodeId

public java.lang.String getNodeId()

regenerateNodeId

public void regenerateNodeId()

getName

public java.lang.String getName()

getNamespace

public Namespace getNamespace()

toExternalForm

public java.lang.String toExternalForm()

compareTo

public int compareTo(java.lang.Object o)

getPropertiesAsBytes

public byte[] getPropertiesAsBytes()

getPath

public java.lang.String getPath()

getAbsolutePath

public java.lang.String getAbsolutePath()

isLocalNode

public boolean isLocalNode()

getWrappedService

public IService getWrappedService()