java.lang.Object
com.fetish.directory.SearchIDFactory
- All Implemented Interfaces:
- java.io.Serializable
- public class SearchIDFactory
- extends java.lang.Object
- implements java.io.Serializable
Class to obtain unique SearchID identifiers.
It implements Serializable in order to be stored to persistent storage,
to keep consistency between activations.
This class is meant to be a field of the FADA class.
|
Field Summary |
private long |
seqNum
|
private ServiceID |
sid
|
|
Constructor Summary |
SearchIDFactory()
Constructor provided for serialization purposes |
SearchIDFactory(ServiceID sid)
Initializes the SearchIDFactory object.
It needs the FADA node Jini ServiceID to create unique search
identifiers for the FADA node this class belongs to. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seqNum
private long seqNum
sid
private ServiceID sid
SearchIDFactory
public SearchIDFactory()
- Constructor provided for serialization purposes
SearchIDFactory
public SearchIDFactory(ServiceID sid)
- Initializes the SearchIDFactory object.
It needs the FADA node Jini ServiceID to create unique search
identifiers for the FADA node this class belongs to.
getSearchID
public SearchID getSearchID()
- Creates the next SearchID for this factory.