Port Class Reference

#include <NetAddress.hh>


Public Member Functions

 Port (portNumBits num)
portNumBits num () const

Private Attributes

portNumBits fPortNum


Detailed Description

Definition at line 94 of file NetAddress.hh.


Constructor & Destructor Documentation

Port::Port ( portNumBits  num  ) 

Definition at line 195 of file NetAddress.cpp.

References fPortNum.

00195                                                    {
00196   fPortNum = htons(num);
00197 }


Member Function Documentation

portNumBits Port::num (  )  const [inline]

Definition at line 98 of file NetAddress.hh.

References fPortNum.

Referenced by AddressPortLookupTable::Add(), Groupsock::addDestination(), HTTPSink::appendPortNum(), Groupsock::changeDestinationParameters(), MP3HTTPSource::createNew(), SocketLookupTable::Fetch(), OnDemandServerMediaSubsession::getStreamParameters(), RTSPServer::RTSPClientSession::handleCmd_SETUP(), MediaSubsession::initiate(), AddressPortLookupTable::Lookup(), operator<<(), SocketLookupTable::Remove(), AddressPortLookupTable::Remove(), Groupsock::removeDestination(), RTSPServer::rtspURLPrefix(), PassiveServerMediaSubsession::sdpLines(), setupDatagramSocket(), RTSPServer::setUpOurSocket(), RTSPOverHTTPServer::setUpOurSocket(), HTTPSink::setUpOurSocket(), setupStreamSocket(), SIPClient::SIPClient(), OutputSocket::sourcePortNum(), and writeSocket().

00099                 { return fPortNum; }


Field Documentation

portNumBits Port::fPortNum [private]

Definition at line 102 of file NetAddress.hh.

Referenced by num(), and Port().


The documentation for this class was generated from the following files:
Generated on Tue Jul 22 06:41:01 2008 for live by  doxygen 1.5.2