Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
Ice::HeartbeatCallback Class Referenceabstract

An application can implement this interface to receive notifications when a connection receives a heartbeat message. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::HeartbeatCallback:
Collaboration diagram for Ice::HeartbeatCallback:

Public Types

typedef HeartbeatCallbackPtr PointerType

Public Member Functions

virtual void heartbeat (const ConnectionPtr &con)=0
 This method is called by the connection when a heartbeat is received from the peer.
virtual ~HeartbeatCallback ()
Public Member Functions inherited from Ice::LocalObject
virtual bool operator< (const LocalObject &) const
virtual bool operator== (const LocalObject &) const
Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
virtual void __decRef ()
virtual int __getRef () const
bool __hasFlag (unsigned char flag)
virtual void __incRef ()
void __setFlag (unsigned char flag)
virtual void __setNoDelete (bool)
Sharedoperator= (const Shared &)
 Shared ()
 Shared (const Shared &)
virtual ~Shared ()

Additional Inherited Members

Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
IceUtilInternal::Atomic _ref

Detailed Description

An application can implement this interface to receive notifications when a connection receives a heartbeat message.

See also
Connection::setHeartbeatCallback

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~HeartbeatCallback()

virtual Ice::HeartbeatCallback::~HeartbeatCallback ( )
virtual

Member Function Documentation

◆ heartbeat()

virtual void Ice::HeartbeatCallback::heartbeat ( const ConnectionPtr & con)
pure virtual

This method is called by the connection when a heartbeat is received from the peer.

Parameters
conThe connection on which a heartbeat was received.

The documentation for this class was generated from the following file: