INET Framework for OMNeT++/OMNEST
inet::tcp::TCP_NSC_Connection::SockPair Class Reference

#include <TCP_NSC_Connection.h>

Public Member Functions

bool operator< (const SockPair &b) const
 
bool operator== (const SockPair &b) const
 

Public Attributes

SockAddr remoteM
 
SockAddr localM
 

Member Function Documentation

bool inet::tcp::TCP_NSC_Connection::SockPair::operator< ( const SockPair b) const
inline
73  {
74  if (remoteM == b.remoteM)
75  return localM < b.localM;
76  return remoteM < b.remoteM;
77  }
SockAddr localM
Definition: TCP_NSC_Connection.h:70
SockAddr remoteM
Definition: TCP_NSC_Connection.h:69
value< double, units::m > b
Definition: Units.h:1054
bool inet::tcp::TCP_NSC_Connection::SockPair::operator== ( const SockPair b) const
inline
80  {
81  return (remoteM == b.remoteM) && (localM == b.localM);
82  }
SockAddr localM
Definition: TCP_NSC_Connection.h:70
SockAddr remoteM
Definition: TCP_NSC_Connection.h:69
value< double, units::m > b
Definition: Units.h:1054

Member Data Documentation


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