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

Provides access to a TCP endpoint information. More...

#include <Ice/Ice.h>

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

Public Member Functions

TCPEndpointInfooperator= (const TCPEndpointInfo &)=default
 
TCPEndpointInfooperator= (TCPEndpointInfo &&)=default
 
 TCPEndpointInfo ()=default
 
 TCPEndpointInfo (const ::std::shared_ptr<::Ice::EndpointInfo > &underlying, int timeout, bool compress, const ::std::string &host, int port, const ::std::string &sourceAddress)
 One-shot constructor to initialize all data members. More...
 
 TCPEndpointInfo (const TCPEndpointInfo &)=default
 
 TCPEndpointInfo (TCPEndpointInfo &&)=default
 
virtual ~TCPEndpointInfo ()
 
- Public Member Functions inherited from Ice::IPEndpointInfo
 IPEndpointInfo ()=default
 
 IPEndpointInfo (const ::std::shared_ptr<::Ice::EndpointInfo > &underlying, int timeout, bool compress, const ::std::string &host, int port, const ::std::string &sourceAddress)
 One-shot constructor to initialize all data members. More...
 
 IPEndpointInfo (const IPEndpointInfo &)=default
 
 IPEndpointInfo (IPEndpointInfo &&)=default
 
IPEndpointInfooperator= (const IPEndpointInfo &)=default
 
IPEndpointInfooperator= (IPEndpointInfo &&)=default
 
virtual ~IPEndpointInfo ()
 
- Public Member Functions inherited from Ice::EndpointInfo
virtual bool datagram () const noexcept=0
 Returns true if this endpoint is a datagram endpoint. More...
 
 EndpointInfo ()=default
 
 EndpointInfo (const ::std::shared_ptr<::Ice::EndpointInfo > &underlying, int timeout, bool compress)
 One-shot constructor to initialize all data members. More...
 
 EndpointInfo (const EndpointInfo &)=default
 
 EndpointInfo (EndpointInfo &&)=default
 
EndpointInfooperator= (const EndpointInfo &)=default
 
EndpointInfooperator= (EndpointInfo &&)=default
 
virtual bool secure () const noexcept=0
 Returns true if this endpoint is a secure endpoint. More...
 
virtual short type () const noexcept=0
 Returns the type of the endpoint. More...
 
virtual ~EndpointInfo ()
 

Additional Inherited Members

- Public Attributes inherited from Ice::IPEndpointInfo
::std::string host
 The host or address configured with the endpoint. More...
 
int port
 The port number. More...
 
::std::string sourceAddress
 The source IP address. More...
 
- Public Attributes inherited from Ice::EndpointInfo
bool compress
 Specifies whether or not compression should be used if available when using this endpoint. More...
 
int timeout
 The timeout for the endpoint in milliseconds. More...
 
::std::shared_ptr<::Ice::EndpointInfounderlying
 The information of the underyling endpoint of null if there's no underlying endpoint. More...
 

Detailed Description

Provides access to a TCP endpoint information.

See also
Endpoint

Constructor & Destructor Documentation

◆ ~TCPEndpointInfo()

virtual Ice::TCPEndpointInfo::~TCPEndpointInfo ( )
virtual

◆ TCPEndpointInfo() [1/4]

Ice::TCPEndpointInfo::TCPEndpointInfo ( )
default

◆ TCPEndpointInfo() [2/4]

Ice::TCPEndpointInfo::TCPEndpointInfo ( const TCPEndpointInfo )
default

◆ TCPEndpointInfo() [3/4]

Ice::TCPEndpointInfo::TCPEndpointInfo ( TCPEndpointInfo &&  )
default

◆ TCPEndpointInfo() [4/4]

Ice::TCPEndpointInfo::TCPEndpointInfo ( const ::std::shared_ptr<::Ice::EndpointInfo > &  underlying,
int  timeout,
bool  compress,
const ::std::string &  host,
int  port,
const ::std::string &  sourceAddress 
)
inline

One-shot constructor to initialize all data members.

Parameters
underlyingThe information of the underyling endpoint of null if there's no underlying endpoint.
timeoutThe timeout for the endpoint in milliseconds.
compressSpecifies whether or not compression should be used if available when using this endpoint.
hostThe host or address configured with the endpoint.
portThe port number.
sourceAddressThe source IP address.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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