next up previous contents index
Next: 40.1.3 Transmitting user data Up: 40.1 Using application-level data Previous: 40.1.1 ADU   Contents   Index

40.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.



2008-12-02