Class Transport
A transport.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class Transport : Dynamic
Properties
IsClosed
Gets a value indicating whether this instance is closed.
Declaration
public abstract bool IsClosed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
NextTransportSequenceNumber
Gets the next Transport-Wide Sequence Number. Values ranger between -2^16 and 2^16 and wrap around.
Declaration
public abstract int NextTransportSequenceNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RoundTripTime
Gets the current round-trip-time in milliseconds.
Declaration
public virtual int RoundTripTime { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
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> |