fm.liveswitch.DatagramSocketCreateArgs Class Reference

Arguments for a datagram socket create event. More...

Public Member Functions

 DatagramSocketCreateArgs (boolean ipv6)
 Initializes a new instance of the fm.liveswitch.DatagramSocketCreateArgs class. More...
 
boolean getIPv6 ()
 Gets a value indicating whether the socket should support IPv6. More...
 
int getStreamIndex ()
 Gets the stream index. More...
 
void setStreamIndex (int value)
 Sets the stream index. More...
 

Detailed Description

Arguments for a datagram socket create event.

Constructor & Destructor Documentation

◆ DatagramSocketCreateArgs()

fm.liveswitch.DatagramSocketCreateArgs.DatagramSocketCreateArgs ( boolean  ipv6)

Initializes a new instance of the fm.liveswitch.DatagramSocketCreateArgs class.

Parameters
ipv6Whether the socket should support IPv6.

Member Function Documentation

◆ getIPv6()

boolean fm.liveswitch.DatagramSocketCreateArgs.getIPv6 ( )

Gets a value indicating whether the socket should support IPv6.

◆ getStreamIndex()

int fm.liveswitch.DatagramSocketCreateArgs.getStreamIndex ( )

Gets the stream index.

◆ setStreamIndex()

void fm.liveswitch.DatagramSocketCreateArgs.setStreamIndex ( int  value)

Sets the stream index.