DocumentSignal Class Reference
Namespace | ohm::flip |
Declared in | ohm/flip/DocumentSignal.h |
See Also |
Overview
The DocumentSignal class is a pure virtual class. Implementing it allows a server to receive server signals from the clients. The client will derive a class from DocumentSignal and will bind it to the document server using bind .
Partial Class Diagram

Methods Overview
To Implement
Methods
signal
Implementing this method will let the derived class receive server signal messages.
virtual void signal ( |
const std::string & from, |
Object * obj_ptr, |
archi::UInt32 type, |
const archi::UByte * data_ptr, |
) = 0; |
- from is the user name from which the signal is originated
- obj_ptr is the target object of the signal or 0
- type is the type of the message, as defined by the client of the Framework
- data_ptr and data_size denotes a piece of data associated to the signal, or 0 if no data is associated to the signal
WARNING:Server signals is server code.