Arduino live555
All Classes Functions Pages
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Groupsock Class Reference
Inheritance diagram for Groupsock:
OutputSocket Socket NetInterface

Public Member Functions

 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 destRecordcreateNewDestRecord (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
 
UsageEnvironmentenv () const
 

Public Attributes

NetInterfaceTrafficStats statsGroupIncoming
 
NetInterfaceTrafficStats statsGroupOutgoing
 

Static Public Attributes

static NetInterfaceTrafficStats statsIncoming
 
static NetInterfaceTrafficStats statsOutgoing
 
static int DebugLevel = 1
 
static UsageEnvironmentDefaultUsageEnvironment = NULL
 

Protected Member Functions

destRecordlookupDestRecordFromDestination (struct sockaddr_storage const &targetAddrAndPort) const
 
portNumBits sourcePortNum () const
 
Boolean changePort (Port newPort)
 

Protected Attributes

destRecordfDests
 

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