Re: [xmlblaster] use of public I_ConnectionProblems

2007-11-05 Thread Jürgen Prinz

Thank you, that's it !!

Jürgen
Marcel Ruff wrote:


Hi Jürgen,

you are probably missing the registration for such events:

 connection_.initFailsafe(this);

regards
Marcel

Jürgen Prinz wrote:

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: [EMAIL PROTECTED]

-

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.



Re: [xmlblaster] use of public I_ConnectionProblems

2007-11-05 Thread Marcel Ruff

Hi Jürgen,

you are probably missing the registration for such events:

 connection_.initFailsafe(this);

regards
Marcel

Jürgen Prinz wrote:
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 ?




--
Marcel Ruff
http://www.xmlBlaster.org



[xmlblaster] use of public I_ConnectionProblems

2007-11-05 Thread Jürgen Prinz
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: [EMAIL PROTECTED]

-

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.