next up previous contents index
Next: 32.1.3 Transmitting user data Up: 32.1 Using application-level data Previous: 32.1.1 ADU

32.1.2 Passing data between applications

The base class of Application, Process, allows applications to pass data or request data between each other. It is defined as follows:

        class Process {
        public: 
                Process() : target\_(0) {}
                inline Process*& target() { return target\_; }

                virtual void process\_data(int size, char* data) = 0;
                virtual void send\_data(int size, char* data = 0);

        protected:
                Process* target\_;
        };

Process enables Application to link together.




2000-08-24