Class Transport
A transport.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class Transport : Dynamic
Constructors
Transport(Int32)
Construct a Transport.
Declaration
public Transport(int transportCCReportIntervalMs)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | transportCCReportIntervalMs |
Properties
IsClosed
Gets a value indicating whether this instance is closed.
Declaration
public abstract bool IsClosed { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
NextOutboundTransportSequenceNumber
Gets the next outbound transport-wide sequence number.
Declaration
public int NextOutboundTransportSequenceNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The next outbound transport-wide sequence number. |
RoundTripTime
Gets the current round-trip-time in milliseconds.
Declaration
public virtual int RoundTripTime { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
TransportCCManager
Gets the Transport CC Manager
Declaration
protected TransportCCManager TransportCCManager { get; }
Property Value
| Type | Description |
|---|---|
| TransportCCManager |
Methods
Send(DataBuffer)
Sends the specified buffer.
Declaration
public abstract void Send(DataBuffer buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| DataBuffer | buffer | The buffer. |
Events
OnReceive
Raised when data is received.
Declaration
public abstract event Action1<DataBuffer> OnReceive
Event Type
| Type | Description |
|---|---|
| Action1<DataBuffer> |