- Main Page
- Namespaces
- Classes
- Files

- Search for |

# service.cpp

    00001 // "service.cpp"
    00002
    00003 // (c) OPAC Team, LIFL, August 2005
    00004
    00005 /*
    00006    Contact: paradiseo-help@lists.gforge.inria.fr
    00007 */
    00008
    00009 #include "service.h"
    00010
    00011 void Service :: setOwner (Thread & __owner) {
    00012
    00013   owner = & __owner;
    00014 }
    00015
    00016 Thread * Service :: getOwner () {
    00017
    00018   return owner;
    00019 }
    00020
    00021 Service * getService (SERVICE_ID __key) {
    00022
    00023   return dynamic_cast <Service *> (getCommunicable (__key));
    00024 }
    00025
    00026 void Service :: notifySendingData () {
    00027
    00028 }
    00029 void Service :: notifySendingResourceRequest () {
    00030
    00031   num_sent_rr --;
    00032   if (! num_sent_rr)
    00033     notifySendingAllResourceRequests ();
    00034 }
    00035
    00036 void Service :: notifySendingAllResourceRequests () {
    00037
    00038 }
    00039
    00040 void Service :: packData () {
    00041
    00042 }
    00043
    00044 void Service :: unpackData () {
    00045
    00046 }
    00047
    00048 void Service :: execute () {
    00049
    00050 }
    00051
    00052 void Service :: packResult () {
    00053
    00054 }
    00055
    00056 void Service :: unpackResult () {
    00057
    00058 }