videoLat  2.1
Video conferencing delay measurements
Instance Methods | Protected Attributes | Properties | List of all members
NetworkIODevice Class Reference

#import <NetworkIODevice.h>

Inheritance diagram for NetworkIODevice:
Inheritance graph
[legend]
Collaboration diagram for NetworkIODevice:
Collaboration graph
[legend]

Instance Methods

(uint64_t) - now
 
(void) - startCapturing:
 
(void) - stopCapturing
 
(void) - stop
 
(NSString *) - genPrepareCode
 Returns QR-code containing our IP/port combination.
 
(void) - openServer:
 
(void) - openClient:url:
 
(void) - reportResult:
 
(void) - reportReception:count:at:
 
(void) - reportTransmission:at:
 
(void) - reportHeartbeat
 
(void) - reportMaster:
 
(void) - reportStatus:
 
(void) - reportInputDevice:
 
(void) - reportOutputDevice:
 
- Instance Methods inherited from <NetworkProtocolDelegate>
(void) - received:from:
 
(void) - connected:
 
(void) - disconnected:
 

Protected Attributes

BOOL isServer
 True if we are running in the network server (net input, screen output)
 
BOOL isHelper
 True if we are running on the helper side (initially the server)
 
BOOL connected
 True if we are connected.
 
NSString * prepareCode
 Internal: data for prerun qrcode.
 
NSString * statusToPeer
 Internal: status update to be transmitted to peer.
 
BOOL didReceiveData
 Internal: true once we have received any data.
 
DeviceDescriptioninputDeviceDescriptorToSend
 Internal: description of local input device, to be sent to remote.
 
DeviceDescriptionoutputDeviceDescriptorToSend
 Internal: description of local output device, to be sent to remote.
 
NSString * requestTransmissionCode
 Internal: this side wants the other side to do a new transmission.
 
NSString * lastRequestTransmissionCode
 Internal: last transmission requested.
 
RemoteClockremoteClock
 Internal: retain self-allocated clock.
 
uint64_t lastMessageSentTime
 Internal: Last time we sent a message to the master.
 

Properties

IBOutlet BaseRunManagermanager
 Our input manager.
 
IBOutlet NSObject< ClockProtocol > * clock
 Our clock, if not ourselves.
 
IBOutlet NSObject< NetworkStatusProtocol > * networkStatusView
 Assigned in NIB: view that allows viewing network status.
 
NetworkProtocolCommonprotocol
 
DeviceDescriptionremoteInputDeviceDescription
 
DeviceDescriptionremoteOutputDeviceDescription
 

Detailed Description

Class that implements InputDeviceProtocol (and ClockProtocol) for data that is actually captured remotely, and for which the data is sent to us over the network.

Method Documentation

◆ now()

- (uint64_t) now

Get current time from this clock.

Returns
Timevalue in microseconds

Reimplemented from <ClockProtocol>.


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