Ice 3.7 C++11 API Reference
Public Member Functions | Public Attributes | List of all members
Ice::IPConnectionInfo Class Reference

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

#include <Ice/Ice.h>

Inheritance diagram for Ice::IPConnectionInfo:
Inheritance graph
[legend]
Collaboration diagram for Ice::IPConnectionInfo:
Collaboration graph
[legend]

Public Member Functions

 IPConnectionInfo ()
 
 IPConnectionInfo (const ::std::shared_ptr<::Ice::ConnectionInfo > &underlying, bool incoming, const ::std::string &adapterName, const ::std::string &connectionId, const ::std::string &localAddress, int localPort, const ::std::string &remoteAddress, int remotePort)
 One-shot constructor to initialize all data members. More...
 
 IPConnectionInfo (const IPConnectionInfo &)=default
 
 IPConnectionInfo (IPConnectionInfo &&)=default
 
IPConnectionInfooperator= (const IPConnectionInfo &)=default
 
IPConnectionInfooperator= (IPConnectionInfo &&)=default
 
virtual ~IPConnectionInfo ()
 
- Public Member Functions inherited from Ice::ConnectionInfo
 ConnectionInfo ()=default
 
 ConnectionInfo (ConnectionInfo &&)=default
 
 ConnectionInfo (const ::std::shared_ptr<::Ice::ConnectionInfo > &underlying, bool incoming, const ::std::string &adapterName, const ::std::string &connectionId)
 One-shot constructor to initialize all data members. More...
 
 ConnectionInfo (const ConnectionInfo &)=default
 
ConnectionInfooperator= (ConnectionInfo &&)=default
 
ConnectionInfooperator= (const ConnectionInfo &)=default
 
virtual ~ConnectionInfo ()
 

Public Attributes

::std::string localAddress
 The local address. More...
 
int localPort = -1
 The local port. More...
 
::std::string remoteAddress
 The remote address. More...
 
int remotePort = -1
 The remote port. More...
 
- Public Attributes inherited from Ice::ConnectionInfo
::std::string adapterName
 The name of the adapter associated with the connection. More...
 
::std::string connectionId
 The connection id. More...
 
bool incoming
 Whether or not the connection is an incoming or outgoing connection. More...
 
::std::shared_ptr<::Ice::ConnectionInfounderlying
 The information of the underyling transport or null if there's no underlying transport. More...
 

Detailed Description

Provides access to the connection details of an IP connection.

Constructor & Destructor Documentation

◆ ~IPConnectionInfo()

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

◆ IPConnectionInfo() [1/4]

Ice::IPConnectionInfo::IPConnectionInfo ( )
inline

◆ IPConnectionInfo() [2/4]

Ice::IPConnectionInfo::IPConnectionInfo ( const IPConnectionInfo )
default

◆ IPConnectionInfo() [3/4]

Ice::IPConnectionInfo::IPConnectionInfo ( IPConnectionInfo &&  )
default

◆ IPConnectionInfo() [4/4]

Ice::IPConnectionInfo::IPConnectionInfo ( const ::std::shared_ptr<::Ice::ConnectionInfo > &  underlying,
bool  incoming,
const ::std::string &  adapterName,
const ::std::string &  connectionId,
const ::std::string &  localAddress,
int  localPort,
const ::std::string &  remoteAddress,
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 Function Documentation

◆ operator=() [1/2]

IPConnectionInfo& Ice::IPConnectionInfo::operator= ( const IPConnectionInfo )
default

◆ operator=() [2/2]

IPConnectionInfo& Ice::IPConnectionInfo::operator= ( IPConnectionInfo &&  )
default

Member Data Documentation

◆ localAddress

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

The local address.

◆ localPort

int Ice::IPConnectionInfo::localPort = -1

The local port.

◆ remoteAddress

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

The remote address.

◆ remotePort

int Ice::IPConnectionInfo::remotePort = -1

The remote port.


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