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

Base class providing access to the connection details. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::ConnectionInfo:
Collaboration diagram for Ice::ConnectionInfo:

Public Types

typedef ConnectionInfoPtr PointerType

Public Member Functions

 ConnectionInfo ()
 ConnectionInfo (const ::Ice::ConnectionInfoPtr &underlying, bool incoming, const ::std::string &adapterName, const ::std::string &connectionId)
 One-shot constructor to initialize all data members.
virtual ~ConnectionInfo ()
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 ()

Public Attributes

::std::string adapterName
 The name of the adapter associated with the connection.
::std::string connectionId
 The connection id.
bool incoming
 Whether or not the connection is an incoming or outgoing connection.
::Ice::ConnectionInfoPtr underlying
 The information of the underyling transport or null if there's no underlying transport.

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

Base class providing access to the connection details.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~ConnectionInfo()

virtual Ice::ConnectionInfo::~ConnectionInfo ( )
virtual

Reimplemented in IceSSL::ConnectionInfo.

◆ ConnectionInfo() [1/2]

Ice::ConnectionInfo::ConnectionInfo ( )
inline

◆ ConnectionInfo() [2/2]

Ice::ConnectionInfo::ConnectionInfo ( const ::Ice::ConnectionInfoPtr & underlying,
bool incoming,
const ::std::string & adapterName,
const ::std::string & connectionId )
inline

One-shot constructor to initialize all data members.

Parameters
underlyingThe information of the underyling transport or null if there's no underlying transport.
incomingWhether or not the connection is an incoming or outgoing connection.
adapterNameThe name of the adapter associated with the connection.
connectionIdThe connection id.

Member Data Documentation

◆ adapterName

::std::string Ice::ConnectionInfo::adapterName

The name of the adapter associated with the connection.

◆ connectionId

::std::string Ice::ConnectionInfo::connectionId

The connection id.

◆ incoming

bool Ice::ConnectionInfo::incoming

Whether or not the connection is an incoming or outgoing connection.

◆ underlying

::Ice::ConnectionInfoPtr Ice::ConnectionInfo::underlying

The information of the underyling transport or null if there's no underlying transport.


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