#include <Groupsock.hh>
|
| Groupsock (UsageEnvironment &env, struct sockaddr_storage const &groupAddr, Port port, u_int8_t ttl) |
|
| Groupsock (UsageEnvironment &env, struct sockaddr_storage const &groupAddr, struct sockaddr_storage const &sourceFilterAddr, Port port) |
|
virtual | ~Groupsock () |
|
virtual destRecord * | createNewDestRecord (struct sockaddr_storage const &addr, Port const &port, u_int8_t ttl, unsigned sessionId, destRecord *next) |
|
void | changeDestinationParameters (struct sockaddr_storage const &newDestAddr, Port newDestPort, int newDestTTL, unsigned sessionId=0) |
|
unsigned | lookupSessionIdFromDestination (struct sockaddr_storage const &destAddrAndPort) const |
|
virtual void | addDestination (struct sockaddr_storage const &addr, Port const &port, unsigned sessionId) |
|
virtual void | removeDestination (unsigned sessionId) |
|
void | removeAllDestinations () |
|
Boolean | hasMultipleDestinations () const |
|
struct sockaddr_storage const & | groupAddress () const |
|
struct sockaddr_storage const & | sourceFilterAddress () const |
|
Boolean | isSSM () const |
|
u_int8_t | ttl () const |
|
void | multicastSendOnly () |
|
virtual Boolean | output (UsageEnvironment &env, unsigned char *buffer, unsigned bufferSize) |
|
Boolean | wasLoopedBackFromUs (UsageEnvironment &env, struct sockaddr_storage const &fromAddressAndPort) |
|
virtual Boolean | handleRead (unsigned char *buffer, unsigned bufferMaxSize, unsigned &bytesRead, struct sockaddr_storage &fromAddressAndPort) |
|
virtual Boolean | write (struct sockaddr_storage const &addressAndPort, u_int8_t ttl, unsigned char *buffer, unsigned bufferSize) |
|
void | reset () |
|
int | socketNum () const |
|
Port | port () const |
|
UsageEnvironment & | env () const |
|
Definition at line 78 of file Groupsock.hh.
◆ Groupsock() [1/2]
Groupsock::Groupsock |
( |
UsageEnvironment & |
env, |
|
|
struct sockaddr_storage const & |
groupAddr, |
|
|
Port |
port, |
|
|
u_int8_t |
ttl |
|
) |
| |
◆ Groupsock() [2/2]
Groupsock::Groupsock |
( |
UsageEnvironment & |
env, |
|
|
struct sockaddr_storage const & |
groupAddr, |
|
|
struct sockaddr_storage const & |
sourceFilterAddr, |
|
|
Port |
port |
|
) |
| |
◆ ~Groupsock()
virtual Groupsock::~Groupsock |
( |
| ) |
|
|
virtual |
◆ addDestination()
virtual void Groupsock::addDestination |
( |
struct sockaddr_storage const & |
addr, |
|
|
Port const & |
port, |
|
|
unsigned |
sessionId |
|
) |
| |
|
virtual |
◆ changeDestinationParameters()
void Groupsock::changeDestinationParameters |
( |
struct sockaddr_storage const & |
newDestAddr, |
|
|
Port |
newDestPort, |
|
|
int |
newDestTTL, |
|
|
unsigned |
sessionId = 0 |
|
) |
| |
◆ changePort()
◆ createNewDestRecord()
virtual destRecord * Groupsock::createNewDestRecord |
( |
struct sockaddr_storage const & |
addr, |
|
|
Port const & |
port, |
|
|
u_int8_t |
ttl, |
|
|
unsigned |
sessionId, |
|
|
destRecord * |
next |
|
) |
| |
|
virtual |
◆ env()
◆ groupAddress()
struct sockaddr_storage const & Groupsock::groupAddress |
( |
| ) |
const |
|
inline |
◆ handleRead()
virtual Boolean Groupsock::handleRead |
( |
unsigned char * |
buffer, |
|
|
unsigned |
bufferMaxSize, |
|
|
unsigned & |
bytesRead, |
|
|
struct sockaddr_storage & |
fromAddressAndPort |
|
) |
| |
|
virtual |
◆ hasMultipleDestinations()
Boolean Groupsock::hasMultipleDestinations |
( |
| ) |
const |
|
inline |
◆ isSSM()
◆ lookupDestRecordFromDestination()
destRecord * Groupsock::lookupDestRecordFromDestination |
( |
struct sockaddr_storage const & |
targetAddrAndPort | ) |
const |
|
protected |
◆ lookupSessionIdFromDestination()
unsigned Groupsock::lookupSessionIdFromDestination |
( |
struct sockaddr_storage const & |
destAddrAndPort | ) |
const |
◆ multicastSendOnly()
void Groupsock::multicastSendOnly |
( |
| ) |
|
◆ output()
◆ port()
Port Socket::port |
( |
| ) |
const |
|
inlineinherited |
◆ removeAllDestinations()
void Groupsock::removeAllDestinations |
( |
| ) |
|
◆ removeDestination()
virtual void Groupsock::removeDestination |
( |
unsigned |
sessionId | ) |
|
|
virtual |
◆ removeDestinationFrom()
void Groupsock::removeDestinationFrom |
( |
destRecord *& |
dests, |
|
|
unsigned |
sessionId |
|
) |
| |
|
private |
◆ reset()
◆ socketNum()
int Socket::socketNum |
( |
| ) |
const |
|
inlineinherited |
◆ sourceFilterAddress()
struct sockaddr_storage const & Groupsock::sourceFilterAddress |
( |
| ) |
const |
|
inline |
◆ sourcePortNum()
◆ ttl()
u_int8_t Groupsock::ttl |
( |
| ) |
const |
|
inline |
◆ wasLoopedBackFromUs()
Boolean Groupsock::wasLoopedBackFromUs |
( |
UsageEnvironment & |
env, |
|
|
struct sockaddr_storage const & |
fromAddressAndPort |
|
) |
| |
◆ write()
virtual Boolean OutputSocket::write |
( |
struct sockaddr_storage const & |
addressAndPort, |
|
|
u_int8_t |
ttl, |
|
|
unsigned char * |
buffer, |
|
|
unsigned |
bufferSize |
|
) |
| |
|
virtualinherited |
◆ DebugLevel
◆ DefaultUsageEnvironment
◆ fDests
◆ fEnv
◆ fFamily
◆ fIncomingGroupEId
◆ fLastSentTTL
unsigned OutputSocket::fLastSentTTL |
|
privateinherited |
◆ fPort
◆ fSocketNum
◆ fSourcePort
Port OutputSocket::fSourcePort |
|
privateinherited |
◆ statsGroupIncoming
◆ statsGroupOutgoing
◆ statsIncoming
◆ statsOutgoing
The documentation for this class was generated from the following file: