IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Protected Attributes | List of all members
ipsdk::tcpip::SocketDesc Class Reference

Public Member Functions

const Guidguid () const
 
const ePeerTypetype () const
 
const EndPointlocal () const
 
const EndPointremote () const
 
unsigned short listenPort () const
 
bool operator< (const SocketDesc &other)
 
Constructors and destructors
 SocketDesc (const Guid &guid, const ePeerType &type, const EndPoint &local, const EndPoint &remote)
 
 ~SocketDesc ()
 

Protected Attributes

Guid _guid
 unique identifier of the peer
 
ePeerType _peerType
 peer type (client or server)
 
EndPoint _local
 local end point
 
EndPoint _remote
 remote end point
 

Member Function Documentation

◆ guid()

const Guid& ipsdk::tcpip::SocketDesc::guid ( ) const
inline
Returns
unique identifier of the peer

◆ type()

const ePeerType& ipsdk::tcpip::SocketDesc::type ( ) const
inline
Returns
peer type (client or server)

◆ local()

const EndPoint& ipsdk::tcpip::SocketDesc::local ( ) const
inline
Returns
the local endpoint of the peer

◆ remote()

const EndPoint& ipsdk::tcpip::SocketDesc::remote ( ) const
inline
Returns
the remote endpoint of the peer

◆ listenPort()

unsigned short ipsdk::tcpip::SocketDesc::listenPort ( ) const
Returns
the listen port number

◆ operator<()

bool ipsdk::tcpip::SocketDesc::operator< ( const SocketDesc other)
inline
Returns
operator of comparison between 2 SocketDesc

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