fm.liveswitch.StreamSocketCreateArgs Class Reference

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

Public Member Functions

boolean getIPv6 ()
 Gets a value indicating whether the socket should support IPv6. More...
 
boolean getSecure ()
 Gets a value indicating whether the socket should be secured. More...
 
boolean getServer ()
 Gets a value indicating whether the socket should accept incoming connections. More...
 
int getStreamIndex ()
 Gets the stream index. More...
 
void setStreamIndex (int value)
 Sets the stream index. More...
 
 StreamSocketCreateArgs (boolean server, boolean ipv6, boolean secure)
 Initializes a new instance of the fm.liveswitch.StreamSocketCreateArgs class. More...
 

Detailed Description

Arguments for a stream socket create event.

Constructor & Destructor Documentation

◆ StreamSocketCreateArgs()

fm.liveswitch.StreamSocketCreateArgs.StreamSocketCreateArgs ( boolean  server,
boolean  ipv6,
boolean  secure 
)

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

Parameters
serverWhether the socket should accept incoming connections.
ipv6Whether the socket should support IPv6.
secureWhether the socket should be secured.

Member Function Documentation

◆ getIPv6()

boolean fm.liveswitch.StreamSocketCreateArgs.getIPv6 ( )

Gets a value indicating whether the socket should support IPv6.

◆ getSecure()

boolean fm.liveswitch.StreamSocketCreateArgs.getSecure ( )

Gets a value indicating whether the socket should be secured.

◆ getServer()

boolean fm.liveswitch.StreamSocketCreateArgs.getServer ( )

Gets a value indicating whether the socket should accept incoming connections.

◆ getStreamIndex()

int fm.liveswitch.StreamSocketCreateArgs.getStreamIndex ( )

Gets the stream index.

◆ setStreamIndex()

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

Sets the stream index.