13 Package(unsigned long int id = 0, bool close = 0)
14 : m_session_id(id), m_session_close(close),
15 m_filter(0), m_router(0), m_data(0) {}
17 /// send Package to it's next Filter defined in Router
19 m_filter = m_router->move(m_filter, this);
21 return m_filter->process(*this);
27 /// get function - right val in assignment
28 unsigned int session_id() const {
32 /// get function - right val in assignment
33 unsigned int session_close() const {
34 return m_session_close;
38 /// get function - right val in assignment
39 unsigned int data() const {
43 /// set function - left val in assignment
44 unsigned int & data() {
48 /// set function - can be chained
49 Package & data(const unsigned int & data){
55 //Router router() const {
63 /// set function - can be chained
64 Package & router(const Router &router){
72 unsigned long int m_session_id;
74 const Filter *m_filter;
75 const Router *m_router;
87 * indent-tabs-mode: nil
89 * vim: shiftwidth=4 tabstop=8 expandtab