Public Member Functions | |
YarpRpcReply | handleCall (YarpRpcCall call) |
void | run () |
void | test () |
void | test (YarpRpcCall cl) |
YarpServer (String modelPoolFile, String portName) throws IOException, ParseException, Exception | |
Static Public Member Functions | |
static void | main (String[] args) |
static Vector< String[]> | readListOfLists (Bottle listOfLists) |
static void | writeListOfLists (Collection< String[]> listOfLists, Bottle target) |
Protected Member Functions | |
void | checkNumParams (YarpRpcCall call, int n) throws Exception |
Package Attributes | |
YarpRpcServer | port |
Definition at line 14 of file YarpServer.java.
edu::tum::cs::probcog::YarpServer::YarpServer | ( | String | modelPoolFile, | |
String | portName | |||
) | throws IOException, ParseException, Exception [inline] |
modelPoolFile | an XML file containing a pool of models to serve | |
portName | name under which to register the service |
IOException | ||
ParseException | ||
Exception |
Definition at line 28 of file YarpServer.java.
void edu::tum::cs::probcog::YarpServer::checkNumParams | ( | YarpRpcCall | call, | |
int | n | |||
) | throws Exception [inline, protected] |
Definition at line 63 of file YarpServer.java.
YarpRpcReply edu::tum::cs::probcog::YarpServer::handleCall | ( | YarpRpcCall | call | ) | [inline] |
handles a remote procedure call
call |
Exception |
Definition at line 74 of file YarpServer.java.
static void edu::tum::cs::probcog::YarpServer::main | ( | String[] | args | ) | [inline, static] |
Reimplemented from edu::tum::cs::probcog::Server.
Definition at line 157 of file YarpServer.java.
static Vector<String[]> edu::tum::cs::probcog::YarpServer::readListOfLists | ( | Bottle | listOfLists | ) | [inline, static] |
reads the contents of a bottle that is assumed to contain a list of lists of strings
listOfLists | the bottle containing the data |
Definition at line 38 of file YarpServer.java.
void edu::tum::cs::probcog::YarpServer::run | ( | ) | [inline] |
starts the server loop
Definition at line 121 of file YarpServer.java.
void edu::tum::cs::probcog::YarpServer::test | ( | ) | [inline] |
performs a test by querying the tableSetting model, printing the results
Definition at line 138 of file YarpServer.java.
void edu::tum::cs::probcog::YarpServer::test | ( | YarpRpcCall | cl | ) | [inline] |
Definition at line 130 of file YarpServer.java.
static void edu::tum::cs::probcog::YarpServer::writeListOfLists | ( | Collection< String[]> | listOfLists, | |
Bottle | target | |||
) | [inline, static] |
writes the contents of a collection of String arrays to the given bottle as a list of lists
listOfLists | the data to write | |
target | the bottle to write to |
Definition at line 55 of file YarpServer.java.
YarpRpcServer edu::tum::cs::probcog::YarpServer::port [package] |
the port through which communication takes place
Definition at line 19 of file YarpServer.java.