00001
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 package sensix.discovery;
00036
00037
00038 public interface Self
00039 {
00040 byte level ();
00041 int identifier ();
00042 byte[] capabilities ();
00043 void registerObject (byte capability, sensix.Request obj)
00044 throws sensix.discovery.DiscoveryException;
00045 boolean findNodeInFamily (int id)
00046 throws sensix.discovery.DiscoveryException;
00047 sensix.Request[] queryFamilyNetwork (byte capability)
00048 throws sensix.discovery.DiscoveryException;
00049 sensix.Request queryFamilyNode (int id, byte capability)
00050 throws sensix.discovery.DiscoveryException;
00051 boolean findNodeInDescendants (int id)
00052 throws sensix.discovery.DiscoveryException;
00053 sensix.Request[] queryDescendantNetwork (byte capability)
00054 throws sensix.discovery.DiscoveryException;
00055 sensix.Request queryDescendantNode (int id, byte capability)
00056 throws sensix.discovery.DiscoveryException;
00057 byte[] descendantCapabilities ()
00058 throws sensix.discovery.DiscoveryException;
00059 int[] descendantNodes ()
00060 throws sensix.discovery.DiscoveryException;
00061 boolean findNodeInSiblings (int id)
00062 throws sensix.discovery.DiscoveryException;
00063 sensix.Request[] querySiblingNetwork (byte capability)
00064 throws sensix.discovery.DiscoveryException;
00065 sensix.Request querySiblingNode (int id, byte capability)
00066 throws sensix.discovery.DiscoveryException;
00067 byte[] siblingCapabilities ()
00068 throws sensix.discovery.DiscoveryException;
00069 int[] siblingNodes ()
00070 throws sensix.discovery.DiscoveryException;
00071 boolean findNodeInAncestors (int id)
00072 throws sensix.discovery.DiscoveryException;
00073 int[] ancestorNodes ()
00074 throws sensix.discovery.DiscoveryException;
00075 }