10 Message () : device_(0), type_(0), id_(0)
16 RecordingDevice
*recorder ()
21 void recorder (RecordingDevice
*device
)
23 this->device_
= device
;
26 void type (MessageType
*type
)
36 void caller_id (CallerId
*id
)
41 CallerId
*caller_id ()
46 void addr (ACE_FILE_Addr
&addr
)
51 void incoming_message (ACE_FILE_Addr
&addr
, MessageType
*type
)
57 ACE_FILE_Addr
&addr ()
64 return this->type_
->is_text ();
69 return this->type_
->is_audio ();
74 return this->type_
->is_video ();
78 RecordingDevice
*device_
;
84 class AudioMessage
: public Message
87 class VideoMessage
: public Message
90 #endif /* MESSAGE_H */