Package org.jivesoftware.openfire.pubsub
Class Node.UniqueIdentifier
- java.lang.Object
-
- org.jivesoftware.openfire.pubsub.Node.UniqueIdentifier
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Node
public static final class Node.UniqueIdentifier extends Object implements Serializable
A unique identifier for a node, in context of all services in the system. The properties that uniquely identify a node are its service, and its nodeId.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UniqueIdentifier(String serviceId, String nodeId)
UniqueIdentifier(PubSubService.UniqueIdentifier serviceIdentifier, String nodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getNodeId()
PubSubService.UniqueIdentifier
getServiceIdentifier()
int
hashCode()
boolean
owns(PublishedItem.UniqueIdentifier itemIdentifier)
String
toString()
-
-
-
Constructor Detail
-
UniqueIdentifier
public UniqueIdentifier(PubSubService.UniqueIdentifier serviceIdentifier, String nodeId)
-
-
Method Detail
-
getServiceIdentifier
public PubSubService.UniqueIdentifier getServiceIdentifier()
-
getNodeId
public String getNodeId()
-
owns
public boolean owns(PublishedItem.UniqueIdentifier itemIdentifier)
-
-