FMLiveSwitchVirtualAdapter Class Reference

Instance Methods

(bool) - bindWithProtocolType:ipAddress:port:addressInUse:localIPAddress:localPort:
 
(int) - bindWithType:
 
(bool) - bindWithType:port:
 
(bool) - doProcessSendWithPacket:
 
(bool) - doRaiseSendWithPacket:
 
(instancetype) - init
 
(FMLiveSwitchVirtualPacket *) - receiveWithPort:remoteIPAddress:remotePort:protocolType:timeout:packetType:
 
(bool) - sendWithPacket:
 
(bool) - unbindWithType:port:
 
- Instance Methods inherited from FMLiveSwitchVirtualDevice
(NSString *) - description
 
(instancetype) - initWithIPAddress1:ipAddress2:ipAddress3:ipAddress4:
 
(NSString *) - ipAddress
 
(int) - ipAddress1
 
(int) - ipAddress2
 
(int) - ipAddress3
 
(int) - ipAddress4
 
(FMLiveSwitchVirtualNetwork *) - network
 
(bool) - useDhcp
 

Class Methods

(FMLiveSwitchVirtualAdapter *) + virtualAdapter
 
- Class Methods inherited from FMLiveSwitchVirtualDevice
(FMLiveSwitchVirtualDevice *) + virtualDevice
 
(FMLiveSwitchVirtualDevice *) + virtualDeviceWithIPAddress1:ipAddress2:ipAddress3:ipAddress4:
 

Method Documentation

◆ bindWithProtocolType:ipAddress:port:addressInUse:localIPAddress:localPort:

- (bool) bindWithProtocolType: (FMLiveSwitchProtocolType)  protocolType
ipAddress: (NSString *)  ipAddress
port: (int)  port
addressInUse: (bool *)  addressInUse
localIPAddress: (NSString **)  localIPAddress
localPort: (int *)  localPort 

◆ bindWithType:

- (int) bindWithType: (FMLiveSwitchProtocolType)  type

◆ bindWithType:port:

- (bool) bindWithType: (FMLiveSwitchProtocolType)  type
port: (int)  port 

◆ doProcessSendWithPacket:

- (bool) doProcessSendWithPacket: (FMLiveSwitchVirtualPacket *)  packet

◆ doRaiseSendWithPacket:

- (bool) doRaiseSendWithPacket: (FMLiveSwitchVirtualPacket *)  packet

◆ init

- (instancetype) init

◆ receiveWithPort:remoteIPAddress:remotePort:protocolType:timeout:packetType:

- (FMLiveSwitchVirtualPacket*) receiveWithPort: (int)  port
remoteIPAddress: (NSString *)  remoteIPAddress
remotePort: (int)  remotePort
protocolType: (FMLiveSwitchProtocolType)  protocolType
timeout: (int)  timeout
packetType: (FMLiveSwitchVirtualPacketType)  packetType 

◆ sendWithPacket:

- (bool) sendWithPacket: (FMLiveSwitchVirtualPacket *)  packet

◆ unbindWithType:port:

- (bool) unbindWithType: (FMLiveSwitchProtocolType)  type
port: (int)  port 

◆ virtualAdapter

+ (FMLiveSwitchVirtualAdapter*) virtualAdapter