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

Provides access to the connection details of a TCP connection. More...

#include <Ice/Ice.h>

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

Public Member Functions

TCPConnectionInfooperator= (const TCPConnectionInfo &)=default
 
TCPConnectionInfooperator= (TCPConnectionInfo &&)=default
 
 TCPConnectionInfo ()
 
 TCPConnectionInfo (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, int rcvSize, int sndSize)
 One-shot constructor to initialize all data members. More...
 
 TCPConnectionInfo (const TCPConnectionInfo &)=default
 
 TCPConnectionInfo (TCPConnectionInfo &&)=default
 
virtual ~TCPConnectionInfo ()
 
- Public Member Functions inherited from Ice::IPConnectionInfo
 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

int rcvSize = 0
 The connection buffer receive size. More...
 
int sndSize = 0
 The connection buffer send size. More...
 
- Public Attributes inherited from Ice::IPConnectionInfo
::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 a TCP connection.

Constructor & Destructor Documentation

◆ ~TCPConnectionInfo()

virtual Ice::TCPConnectionInfo::~TCPConnectionInfo ( )
virtual

◆ TCPConnectionInfo() [1/4]

Ice::TCPConnectionInfo::TCPConnectionInfo ( )
inline

◆ TCPConnectionInfo() [2/4]

Ice::TCPConnectionInfo::TCPConnectionInfo ( const TCPConnectionInfo )
default

◆ TCPConnectionInfo() [3/4]

Ice::TCPConnectionInfo::TCPConnectionInfo ( TCPConnectionInfo &&  )
default

◆ TCPConnectionInfo() [4/4]

Ice::TCPConnectionInfo::TCPConnectionInfo ( 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,
int  rcvSize,
int  sndSize 
)
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.
rcvSizeThe connection buffer receive size.
sndSizeThe connection buffer send size.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ rcvSize

int Ice::TCPConnectionInfo::rcvSize = 0

The connection buffer receive size.

◆ sndSize

int Ice::TCPConnectionInfo::sndSize = 0

The connection buffer send size.


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