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

sensix::SenseClient Class Reference

#include <sense_client.h>

Inheritance diagram for sensix::SenseClient:

sensix::Response sensix::Response sensix::SenseCtrl

List of all members.

Public Member Functions

 SenseClient (SensixNetworking n, String app, byte debug_level)
 SenseClient (int id, int level, String app, byte debug_level) throws Exception
void log (Logger.LOG type, String msg)
synchronized void linkServer (SenseServer serv)
synchronized void shutdown ()
void aggregate (Functor funct)
 Callback from lower-level server.
synchronized int devolve (Functor funct)
 Reduce functor and submit to lower-level server for execution.
synchronized int detask (Functor funct)
 Cancel a running functor.
 SenseClient (CORBA::ORB_var orb_val, PortableServer::POA_var poa_val, sensix::discovery::DiscoveryService *ds)
 SenseClient (int id, int level, int argc, char *argv[])
virtual ~SenseClient ()
PortableServer::POA_var getPoa ()
void linkServer (SenseServer *serv)
void shutdown ()
void aggregate (Functor_ptr funct)
 Callback from lower-level server.
int devolve (Functor_ptr funct)
 Reduce functor and submit to lower-level server for execution.
int detask (Functor_ptr funct)
 Cancel a running functor.

Protected Member Functions

synchronized Functor re_evolve (Functor funct)
boolean reduction_test (Sensory f_prime, Functor[] array)
synchronized int select (Functor prev, Functor funct)
Functor_ptr re_evolve (Functor_ptr funct)
bool reduction_test (sensix::sensing::Sensory_ptr f_prime, FunctorList *array)
int select (Functor_ptr prev, Functor_ptr funct)

Protected Attributes

SensixNetworking net
SensixMarshalling marshal
TaskTracking track
SenseServer local_server
Logger logger
boolean own_net
CORBA::ORB_var orb
PortableServer::POA_var poa
sensix::discovery::DiscoveryServicediscover
SenseServerlocal_server
Response_ptr resp
bool own_discover


Detailed Description

Definition at line 41 of file SenseClient.java.


Constructor & Destructor Documentation

sensix::SenseClient::SenseClient ( SensixNetworking  n,
String  app,
byte  debug_level 
)

Definition at line 51 of file SenseClient.java.

sensix::SenseClient::SenseClient ( int  id,
int  level,
String  app,
byte  debug_level 
) throws Exception

Definition at line 60 of file SenseClient.java.

SenseClient::SenseClient ( CORBA::ORB_var  orb_val,
PortableServer::POA_var  poa_val,
sensix::discovery::DiscoveryService ds 
)

Definition at line 44 of file sense_client.cpp.

SenseClient::SenseClient ( int  id,
int  level,
int  argc,
char *  argv[] 
)

Definition at line 59 of file sense_client.cpp.

SenseClient::~SenseClient (  )  [virtual]

Definition at line 86 of file sense_client.cpp.


Member Function Documentation

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

Definition at line 76 of file SenseClient.java.

synchronized void sensix::SenseClient::linkServer ( SenseServer  serv  ) 

Definition at line 80 of file SenseClient.java.

void SenseClient::shutdown (  ) 

Reimplemented in sensix::SenseCtrl.

Definition at line 84 of file SenseClient.java.

void sensix::SenseClient::aggregate ( Functor  funct  ) 

Callback from lower-level server.

Parameters:
funct Functor to aggregate

Implements sensix::Response.

Reimplemented in sensix::SenseCtrl.

Definition at line 97 of file SenseClient.java.

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

Definition at line 110 of file SenseClient.java.

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

Definition at line 161 of file SenseClient.java.

synchronized int 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

Implements sensix::Response.

Definition at line 178 of file SenseClient.java.

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

Definition at line 187 of file SenseClient.java.

synchronized int sensix::SenseClient::detask ( Functor  funct  ) 

Cancel a running functor.

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

Implements sensix::Response.

Definition at line 239 of file SenseClient.java.

Functor_ptr SenseClient::re_evolve ( Functor_ptr  funct  )  [protected]

Definition at line 119 of file sense_client.cpp.

bool SenseClient::reduction_test ( sensix::sensing::Sensory_ptr  f_prime,
FunctorList array 
) [protected]

Definition at line 170 of file sense_client.cpp.

int SenseClient::select ( Functor_ptr  prev,
Functor_ptr  funct 
) [protected]

Definition at line 192 of file sense_client.cpp.

PortableServer::POA_var sensix::SenseClient::getPoa (  ) 

Definition at line 68 of file sense_client.h.

void sensix::SenseClient::linkServer ( SenseServer serv  ) 

Definition at line 69 of file sense_client.h.

void sensix::SenseClient::shutdown (  ) 

Reimplemented in sensix::SenseCtrl.

void SenseClient::aggregate ( Functor_ptr  funct  ) 

Callback from lower-level server.

Parameters:
funct Functor to aggregate

Definition at line 106 of file sense_client.cpp.

int SenseClient::devolve ( Functor_ptr  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 183 of file sense_client.cpp.

int SenseClient::detask ( Functor_ptr  funct  ) 

Cancel a running functor.

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

Definition at line 242 of file sense_client.cpp.


Member Data Documentation

Definition at line 43 of file SenseClient.java.

Definition at line 44 of file SenseClient.java.

Definition at line 45 of file SenseClient.java.

Definition at line 46 of file SenseClient.java.

Definition at line 47 of file SenseClient.java.

boolean sensix::SenseClient::own_net [protected]

Definition at line 48 of file SenseClient.java.

CORBA::ORB_var sensix::SenseClient::orb [protected]

Definition at line 48 of file sense_client.h.

PortableServer::POA_var sensix::SenseClient::poa [protected]

Definition at line 49 of file sense_client.h.

Definition at line 52 of file sense_client.h.

Response_ptr sensix::SenseClient::resp [protected]

Definition at line 53 of file sense_client.h.

Definition at line 54 of file sense_client.h.


The documentation for this class was generated from the following files:


© 2008, Los Alamos National Security, LLC.