The following example illustrates the elements necessary to connect a conexus::Endpoint object to a callback class method.
Notice that the main difference between the two examples is the use of the sigc++ library mechanisms for creating function slots using sigc::ptr_fun
and class member slots using sigc::mem_fun
.