[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster] use of public I_ConnectionProblems



I tried to employ the public I_ConnectionProblems method as shown in SubscribeDemo with my clients
in BlasterBase.H
class BlasterBase : public I_Callback, public I_ConnectionProblems
...
public:
....
bool reachedAlive(StatesEnum /*oldState*/, I_ConnectionsHandler* connectionsHandler);
void reachedDead(StatesEnum /*oldState*/, I_ConnectionsHandler* /*connectionsHandler*/);
void reachedPolling(StatesEnum /*oldState*/, I_ConnectionsHandler* /*connectionsHandler*/);


In BlasterBase.C
....
bool BlasterBase::reachedAlive(StatesEnum /*oldState*/, I_ConnectionsHandler* connectionsHandler)
{
cout << " !!!!!!!!!!!! reachedAlive" << endl;
return true;
}
void BlasterBase::reachedPolling(StatesEnum /*oldState*/, I_ConnectionsHandler* connectionsHandler)
{
cout << " !!!!!!!!!!!! reachedPolling" << endl;
}
void BlasterBase::reachedDead(StatesEnum /*oldState*/, I_ConnectionsHandler* connectionsHandler)
{
cout << " !!!!!!!!!!!! reachedDead" << endl;
}



but never got called.

The SubscribeDemo, using the same properties and the same xmlBlaster report the approtriate LOG_INFO's.

Any suggestions ?

--

Jürgen Prinz

Phone:  +49 (0) 7531 / 696-355
Fax:    +49 (0) 7531 / 696-315
E-mail: juergen.prinz at avitech-ag.com

---------------------------------------------

Avitech AG

Principal Office: Bahnhofplatz 1  |  88045 Friedrichshafen  |  Germany

T: +49 7541 282-0  |  F: +49 7541 282-199

Court Registration: Amtsgericht Ulm  |  HRB 631948

Vorstand/CEO: Michael Zips

Chairman of the Supervisory Board: Max Ruëff

VAT No.: DE223719716

www.avitech-ag.com





This message may contain confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.