Sensix
Wireless Sensor Network Middleware



   Home


   Project Page


   Download


   CVS




 Hosted by
Get SENSIX at SourceForge.net. Fast, secure 
and Free Open Source software downloads

gov::lanl::isr::sensix::SenseClient Class Reference

Inheritance diagram for gov::lanl::isr::sensix::SenseClient:

gov::lanl::isr::sensix::SenseCtrl

List of all members.

Public Member Functions

 SenseClient (ORB orb_val, POA poa_val, DiscoveryService ds, String app, byte debug_level) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException
 SenseClient (int id, int level, String[] args, Properties props, String app, byte debug_level) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException
void log (Logger.LOG type, String msg)
POA getPoa ()
synchronized void linkServer (SenseServer serv)
synchronized void shutdown ()
void aggregate (Functor funct)
 Callback from lower-level server.
int devolve (Functor funct)
 Reduce functor and submit to lower-level server for execution.
int detask (Functor funct)
 Cancel a running functor.

Static Public Attributes

static boolean EXTERNAL_DISCOVERY = false

Protected Member Functions

synchronized Functor re_evolve (Functor funct)
boolean reduction_test (Sensory f_prime, Functor[] array)
synchronized int select (Functor prev, Functor funct)

Protected Attributes

ORB orb
POA poa
DiscoveryService discover
TaskTracking track
SenseServer local_server
Response resp
Logger logger
boolean own_discover


Detailed Description

Definition at line 45 of file SenseClient.java.


Constructor & Destructor Documentation

gov::lanl::isr::sensix::SenseClient::SenseClient ( ORB  orb_val,
POA  poa_val,
DiscoveryService  ds,
String  app,
byte  debug_level 
) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException

Definition at line 59 of file SenseClient.java.

gov::lanl::isr::sensix::SenseClient::SenseClient ( int  id,
int  level,
String[]  args,
Properties  props,
String  app,
byte  debug_level 
) throws org.omg.CORBA.SystemException, org.omg.CORBA.UserException, DiscoveryException

Definition at line 76 of file SenseClient.java.


Member Function Documentation

void gov::lanl::isr::sensix::SenseClient::log ( Logger.LOG  type,
String  msg 
)

Definition at line 105 of file SenseClient.java.

POA gov::lanl::isr::sensix::SenseClient::getPoa (  ) 

Definition at line 109 of file SenseClient.java.

synchronized void gov::lanl::isr::sensix::SenseClient::linkServer ( SenseServer  serv  ) 

Definition at line 113 of file SenseClient.java.

synchronized void gov::lanl::isr::sensix::SenseClient::shutdown (  ) 

Reimplemented in gov::lanl::isr::sensix::SenseCtrl.

Definition at line 118 of file SenseClient.java.

void gov::lanl::isr::sensix::SenseClient::aggregate ( Functor  funct  ) 

Callback from lower-level server.

Parameters:
funct Functor to aggregate

Reimplemented in gov::lanl::isr::sensix::SenseCtrl.

Definition at line 138 of file SenseClient.java.

synchronized Functor gov::lanl::isr::sensix::SenseClient::re_evolve ( Functor  funct  )  [protected]

Definition at line 151 of file SenseClient.java.

boolean gov::lanl::isr::sensix::SenseClient::reduction_test ( Sensory  f_prime,
Functor[]  array 
) [protected]

Definition at line 202 of file SenseClient.java.

int gov::lanl::isr::sensix::SenseClient::devolve ( Functor  funct  ) 

Reduce functor and submit to lower-level server for execution.

Parameters:
funct Funtor to reduce and submit
Returns:
Success (0) or failure

Definition at line 219 of file SenseClient.java.

synchronized int gov::lanl::isr::sensix::SenseClient::select ( Functor  prev,
Functor  funct 
) [protected]

Definition at line 228 of file SenseClient.java.

int gov::lanl::isr::sensix::SenseClient::detask ( Functor  funct  ) 

Cancel a running functor.

Parameters:
funct Functor to cancel
Returns:
Success (0) or failure ??

Definition at line 280 of file SenseClient.java.


Member Data Documentation

Definition at line 47 of file SenseClient.java.

Definition at line 49 of file SenseClient.java.

Definition at line 50 of file SenseClient.java.

Definition at line 54 of file SenseClient.java.

Definition at line 55 of file SenseClient.java.

Definition at line 56 of file SenseClient.java.


The documentation for this class was generated from the following file:
  • /home/brennan/Software/sensix/source/C^4/corba/gov/lanl/isr/sensix/SenseClient.java


© 2008, Los Alamos National Security, LLC.