FMLiveSwitchStreamSocketCreateArgs Class Reference

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

Instance Methods

(instancetype) - initWithServer:ipv6:secure:
 Initializes a new instance of the FMLiveSwitchStreamSocketCreateArgs class. More...
 
(bool) - ipv6
 Gets a value indicating whether the socket should support IPv6. More...
 
(bool) - secure
 Gets a value indicating whether the socket should be secured. More...
 
(bool) - server
 Gets a value indicating whether the socket should accept incoming connections. More...
 
(void) - setStreamIndex:
 Sets the stream index. More...
 
(int) - streamIndex
 Gets the stream index. More...
 

Class Methods

(FMLiveSwitchStreamSocketCreateArgs *) + streamSocketCreateArgsWithServer:ipv6:secure:
 Initializes a new instance of the FMLiveSwitchStreamSocketCreateArgs class. More...
 

Detailed Description

Arguments for a stream socket create event.

Method Documentation

◆ initWithServer:ipv6:secure:

- (instancetype) initWithServer: (bool)  server
ipv6: (bool)  ipv6
secure: (bool)  secure 

Initializes a new instance of the FMLiveSwitchStreamSocketCreateArgs class.

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

◆ ipv6

- (bool) ipv6

Gets a value indicating whether the socket should support IPv6.

◆ secure

- (bool) secure

Gets a value indicating whether the socket should be secured.

◆ server

- (bool) server

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

◆ setStreamIndex:

- (void) setStreamIndex: (int)  value

Sets the stream index.

◆ streamIndex

- (int) streamIndex

Gets the stream index.

◆ streamSocketCreateArgsWithServer:ipv6:secure:

+ (FMLiveSwitchStreamSocketCreateArgs*) streamSocketCreateArgsWithServer: (bool)  server
ipv6: (bool)  ipv6
secure: (bool)  secure 

Initializes a new instance of the FMLiveSwitchStreamSocketCreateArgs class.

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