DNA_BindingImp implements a binding between two points in
the network for reading and writing messages. Each operation has the
concept of sources and destinations.
virtual void SetDestination(DNA_Point *p) = 0
Set the destination point to p. Derived classes must provide this
method.
virtual GPL_Boolean Open(DNA_Error & error) = 0
Open the binding. Returns TRUE if the opening succeeded and
FALSE if it failed. Upon return, error contains any errors.
Derived classes must provide this method.
virtual GPL_Boolean Bind(DNA_Point *point, DNA_Error & error) = 0
Perform the binding between the source, specified by point, and the
destination, previously specified with SetDestination(). Returns
TRUE if the binding succeeded and FALSE if it failed. Upon
return, error contains any errors. Derived classes must provide
this method.
virtual long Close(DNA_Error & error) = 0
Close the binding. Returns TRUE if the closing succeeded and
FALSE if it failed. Upon return, error contains any errors.
Derived classes must provide this method.