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

Provides access to the connection details of an IP connection. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::IPConnectionInfo:
Collaboration diagram for Ice::IPConnectionInfo:

Public Types

typedef IPConnectionInfoPtr PointerType
Public Types inherited from Ice::ConnectionInfo
typedef ConnectionInfoPtr PointerType

Public Member Functions

 IPConnectionInfo ()
 Default constructor that assigns default values to members as specified in the Slice definition.
 IPConnectionInfo (const ::Ice::ConnectionInfoPtr &underlying, bool incoming, const ::std::string &adapterName, const ::std::string &connectionId, const ::std::string &localAddress, ::Ice::Int localPort, const ::std::string &remoteAddress, ::Ice::Int remotePort)
 One-shot constructor to initialize all data members.
virtual ~IPConnectionInfo ()
Public Member Functions inherited from Ice::ConnectionInfo
 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 localAddress
 The local address.
::Ice::Int localPort
 The local port.
::std::string remoteAddress
 The remote address.
::Ice::Int remotePort
 The remote port.
Public Attributes inherited from Ice::ConnectionInfo
::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

Provides access to the connection details of an IP connection.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~IPConnectionInfo()

virtual Ice::IPConnectionInfo::~IPConnectionInfo ( )
virtual

◆ IPConnectionInfo() [1/2]

Ice::IPConnectionInfo::IPConnectionInfo ( )
inline

Default constructor that assigns default values to members as specified in the Slice definition.

◆ IPConnectionInfo() [2/2]

Ice::IPConnectionInfo::IPConnectionInfo ( const ::Ice::ConnectionInfoPtr & underlying,
bool incoming,
const ::std::string & adapterName,
const ::std::string & connectionId,
const ::std::string & localAddress,
::Ice::Int localPort,
const ::std::string & remoteAddress,
::Ice::Int remotePort )
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.
localAddressThe local address.
localPortThe local port.
remoteAddressThe remote address.
remotePortThe remote port.

Member Data Documentation

◆ localAddress

::std::string Ice::IPConnectionInfo::localAddress

The local address.

◆ localPort

::Ice::Int Ice::IPConnectionInfo::localPort

The local port.

◆ remoteAddress

::std::string Ice::IPConnectionInfo::remoteAddress

The remote address.

◆ remotePort

::Ice::Int Ice::IPConnectionInfo::remotePort

The remote port.


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