|
|
|
|
gov::lanl::isr::sensix::discovery::DiscoveryService Class Reference
List of all members.
|
Public Member Functions |
| DiscoveryService (ORB orb, int id, byte level) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
| DiscoveryService (ORB orb, int id, byte level, String app) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
| DiscoveryService (ORB orb, int id, byte level, String app, byte debug_level) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
| DiscoveryService (ORB orb_val, int id, byte level, String app, byte debug_level, int port) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
void | log (Logger.LOG type, String msg) |
void | shutdown () |
ObjectReference | newObjRef () |
void | sendDiscovery (Announce ann) |
void | sendDiscovery (Report report) |
void | sendDiscovery (Require require) |
void | sendDiscovery (Share share) |
byte | level () |
int | identifier () |
byte[] | capabilities () |
void | registerObject (byte capability, gov.lanl.isr.sensix.Request obj) throws DiscoveryException |
void | registerObject (byte capability, gov.lanl.isr.sensix.Request obj, boolean override) throws DiscoveryException |
boolean | findNodeInFamily (int id) throws DiscoveryException |
gov.lanl.isr.sensix.Request[] | queryFamilyNetwork (byte capability) throws DiscoveryException |
gov.lanl.isr.sensix.Request | queryFamilyNode (int id, byte capability) throws DiscoveryException |
boolean | findNodeInDescendants (int id) throws DiscoveryException |
gov.lanl.isr.sensix.Request[] | queryDescendantNetwork (byte capability) throws DiscoveryException |
gov.lanl.isr.sensix.Request | queryDescendantNode (int id, byte capability) throws DiscoveryException |
byte[] | descendantCapabilities () throws DiscoveryException |
int[] | descendantNodes () throws DiscoveryException |
boolean | findNodeInSiblings (int id) throws DiscoveryException |
gov.lanl.isr.sensix.Request[] | querySiblingNetwork (byte capability) throws DiscoveryException |
gov.lanl.isr.sensix.Request | querySiblingNode (int id, byte capability) throws DiscoveryException |
byte[] | siblingCapabilities () throws DiscoveryException |
int[] | siblingNodes () throws DiscoveryException |
boolean | findNodeInAncestors (int id) throws DiscoveryException |
int[] | ancestorNodes () throws DiscoveryException |
Static Public Member Functions |
static byte[] | i2b (int i) |
static byte[] | i2b (int i, int size) |
static int | b2i (byte b[]) |
static int | b2i (byte b[], int size) |
static int | b2i_le (byte b[]) |
static int | b2i_le (byte b[], int size) |
static byte[] | announceHeader () |
static byte[] | reportHeader () |
static byte[] | requireHeader () |
static byte[] | shareHeader (Share shr) |
static byte[] | loadAnnounce (Announce ann) |
static byte[] | loadReport (Report rpt) |
static byte[] | loadRequire (Require req) |
static byte[] | loadShare (Share shr) |
Public Attributes |
ORB | orb |
POA | poa |
boolean | running |
boolean | initialized |
ObjectReference[] | references |
int | refs_size |
ObjectReference[] | sib_database |
int | sib_db_size |
ObjectReference[] | desc_database |
int | desc_db_size |
int[] | ancestors_seen |
int | ancestors_size |
int[] | siblings_seen |
int | siblings_size |
int[] | descendants_seen |
int | descendants_size |
Static Public Attributes |
static final int | DISCOVERY_PORT = 2999 |
static final String | MCAST_ADDR_IPv6 = "FF18::178" |
static final String | MCAST_ADDR_IPv4 = "224.0.0.178" |
static final String | MCAST_ADDR = MCAST_ADDR_IPv6 |
static final boolean | INSTRUMENT = true |
static final boolean | DUMP_TO_FILE = false |
static final int | MEMORY_LIMIT = 8096 |
static final int | HEADER_SIZE = 8 |
static final int | TX_TIMEOUT = 12 |
static final int | RETRY_ITVL = 4 |
static final int | EMPTY_TIMEOUT = 1000 |
static final int | MAX_PARENTS = 128 |
static final int | MAX_CHILDREN = 512 |
static final int | MAX_SIBLINGS = 128 |
static final int | MAX_PEERS = (MAX_CHILDREN + MAX_SIBLINGS) |
static final int | MAX_CAPABLE = 32 |
Classes |
class | Listener |
class | ObjectReference |
Detailed Description
Definition at line 46 of file DiscoveryService.java.
Constructor & Destructor Documentation
gov::lanl::isr::sensix::discovery::DiscoveryService::DiscoveryService |
( |
ORB |
orb, |
|
|
int |
id, |
|
|
byte |
level | |
|
) |
| | throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
gov::lanl::isr::sensix::discovery::DiscoveryService::DiscoveryService |
( |
ORB |
orb, |
|
|
int |
id, |
|
|
byte |
level, |
|
|
String |
app | |
|
) |
| | throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
gov::lanl::isr::sensix::discovery::DiscoveryService::DiscoveryService |
( |
ORB |
orb, |
|
|
int |
id, |
|
|
byte |
level, |
|
|
String |
app, |
|
|
byte |
debug_level | |
|
) |
| | throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
gov::lanl::isr::sensix::discovery::DiscoveryService::DiscoveryService |
( |
ORB |
orb_val, |
|
|
int |
id, |
|
|
byte |
level, |
|
|
String |
app, |
|
|
byte |
debug_level, |
|
|
int |
port | |
|
) |
| | throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException |
Member Function Documentation
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::i2b |
( |
int |
i |
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::i2b |
( |
int |
i, |
|
|
int |
size | |
|
) |
| | [static] |
static int gov::lanl::isr::sensix::discovery::DiscoveryService::b2i |
( |
byte |
b[] |
) |
[static] |
static int gov::lanl::isr::sensix::discovery::DiscoveryService::b2i |
( |
byte |
b[], |
|
|
int |
size | |
|
) |
| | [static] |
static int gov::lanl::isr::sensix::discovery::DiscoveryService::b2i_le |
( |
byte |
b[] |
) |
[static] |
static int gov::lanl::isr::sensix::discovery::DiscoveryService::b2i_le |
( |
byte |
b[], |
|
|
int |
size | |
|
) |
| | [static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::announceHeader |
( |
|
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::reportHeader |
( |
|
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::requireHeader |
( |
|
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::shareHeader |
( |
Share |
shr |
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::loadAnnounce |
( |
Announce |
ann |
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::loadReport |
( |
Report |
rpt |
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::loadRequire |
( |
Require |
req |
) |
[static] |
static byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::loadShare |
( |
Share |
shr |
) |
[static] |
void gov::lanl::isr::sensix::discovery::DiscoveryService::log |
( |
Logger.LOG |
type, |
|
|
String |
msg | |
|
) |
| | |
void gov::lanl::isr::sensix::discovery::DiscoveryService::shutdown |
( |
|
) |
|
ObjectReference gov::lanl::isr::sensix::discovery::DiscoveryService::newObjRef |
( |
|
) |
|
void gov::lanl::isr::sensix::discovery::DiscoveryService::sendDiscovery |
( |
Announce |
ann |
) |
|
void gov::lanl::isr::sensix::discovery::DiscoveryService::sendDiscovery |
( |
Report |
report |
) |
|
void gov::lanl::isr::sensix::discovery::DiscoveryService::sendDiscovery |
( |
Require |
require |
) |
|
void gov::lanl::isr::sensix::discovery::DiscoveryService::sendDiscovery |
( |
Share |
share |
) |
|
byte gov::lanl::isr::sensix::discovery::DiscoveryService::level |
( |
|
) |
|
int gov::lanl::isr::sensix::discovery::DiscoveryService::identifier |
( |
|
) |
|
byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::capabilities |
( |
|
) |
|
void gov::lanl::isr::sensix::discovery::DiscoveryService::registerObject |
( |
byte |
capability, |
|
|
gov.lanl.isr.sensix.Request |
obj | |
|
) |
| | throws DiscoveryException |
void gov::lanl::isr::sensix::discovery::DiscoveryService::registerObject |
( |
byte |
capability, |
|
|
gov.lanl.isr.sensix.Request |
obj, |
|
|
boolean |
override | |
|
) |
| | throws DiscoveryException |
boolean gov::lanl::isr::sensix::discovery::DiscoveryService::findNodeInFamily |
( |
int |
id |
) |
throws DiscoveryException |
gov.lanl.isr.sensix.Request [] gov::lanl::isr::sensix::discovery::DiscoveryService::queryFamilyNetwork |
( |
byte |
capability |
) |
throws DiscoveryException |
gov.lanl.isr.sensix.Request gov::lanl::isr::sensix::discovery::DiscoveryService::queryFamilyNode |
( |
int |
id, |
|
|
byte |
capability | |
|
) |
| | throws DiscoveryException |
boolean gov::lanl::isr::sensix::discovery::DiscoveryService::findNodeInDescendants |
( |
int |
id |
) |
throws DiscoveryException |
gov.lanl.isr.sensix.Request [] gov::lanl::isr::sensix::discovery::DiscoveryService::queryDescendantNetwork |
( |
byte |
capability |
) |
throws DiscoveryException |
gov.lanl.isr.sensix.Request gov::lanl::isr::sensix::discovery::DiscoveryService::queryDescendantNode |
( |
int |
id, |
|
|
byte |
capability | |
|
) |
| | throws DiscoveryException |
byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::descendantCapabilities |
( |
|
) |
throws DiscoveryException |
int [] gov::lanl::isr::sensix::discovery::DiscoveryService::descendantNodes |
( |
|
) |
throws DiscoveryException |
boolean gov::lanl::isr::sensix::discovery::DiscoveryService::findNodeInSiblings |
( |
int |
id |
) |
throws DiscoveryException |
gov.lanl.isr.sensix.Request [] gov::lanl::isr::sensix::discovery::DiscoveryService::querySiblingNetwork |
( |
byte |
capability |
) |
throws DiscoveryException |
gov.lanl.isr.sensix.Request gov::lanl::isr::sensix::discovery::DiscoveryService::querySiblingNode |
( |
int |
id, |
|
|
byte |
capability | |
|
) |
| | throws DiscoveryException |
byte [] gov::lanl::isr::sensix::discovery::DiscoveryService::siblingCapabilities |
( |
|
) |
throws DiscoveryException |
int [] gov::lanl::isr::sensix::discovery::DiscoveryService::siblingNodes |
( |
|
) |
throws DiscoveryException |
boolean gov::lanl::isr::sensix::discovery::DiscoveryService::findNodeInAncestors |
( |
int |
id |
) |
throws DiscoveryException |
int [] gov::lanl::isr::sensix::discovery::DiscoveryService::ancestorNodes |
( |
|
) |
throws DiscoveryException |
Member Data Documentation
The documentation for this class was generated from the following file:
|