39 BESTransmitter::_method_citer i ;
40 i = _method_list.find( method_name ) ;
41 if( i == _method_list.end() )
43 _method_list[method_name] = trans_method ;
52 BESTransmitter::_method_iter i ;
53 i = _method_list.find( method_name ) ;
54 if( i != _method_list.end() )
56 _method_list.erase( i ) ;
65 BESTransmitter::_method_citer i ;
66 i = _method_list.find( method_name ) ;
67 if( i != _method_list.end() )
87 string err = (string)
"Unable to transmit response, no transmit for "
104 << (
void *)
this <<
")" << endl ;
106 if( _method_list.size() )
110 _method_citer i = _method_list.begin() ;
111 _method_citer ie = _method_list.end() ;
112 for( ; i != ie; i++ )
115 << (
void *)(*i).second << endl ;
exception thrown if inernal error encountered
virtual bool add_method(string method_name, p_transmitter trans_method)
void(* p_transmitter)(BESResponseObject *obj, BESDataHandlerInterface &dhi)
virtual void send_response(const string &method, BESResponseObject *obj, BESDataHandlerInterface &dhi)
virtual void dump(ostream &strm) const
dumps information about this object
virtual p_transmitter find_method(string method_name)
static ostream & LMarg(ostream &strm)
Structure storing information used by the BES to handle the request.
virtual bool remove_method(string method_name)
Abstract base class representing a specific set of information in response to a request to the BES...