Skip to main content

MLAPI.Profiling.TickEvent

A event that can occur during a Event

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public class TickEvent

Fields#

Bytes#

The amount of bytes sent or received

Declaration#

public uint Bytes

Field Value#

TypeDescription
System.UInt32

ChannelName#

The name of the channel

Declaration#

public string ChannelName

Field Value#

TypeDescription
System.String

Closed#

Whether or not the event is closed

Declaration#

public bool Closed

Field Value#

TypeDescription
System.Boolean

EventType#

The type of evenmt

Declaration#

public TickType EventType

Field Value#

TypeDescription
TickType

MessageType#

The message type

Declaration#

public string MessageType

Field Value#

TypeDescription
System.String

Methods#

FromStream(Stream)#

Creates a TickEvent from data in the provided stream

Declaration#

public static TickEvent FromStream(Stream stream)

Parameters#

TypeNameDescription
System.IO.StreamstreamThe stream containing the TickEvent data

Returns#

TypeDescription
TickEventThe TickEvent with data read from the stream

SerializeToStream(Stream)#

Writes the TickEvent data to the stream

Declaration#

public void SerializeToStream(Stream stream)

Parameters#

TypeNameDescription
System.IO.StreamstreamThe stream to write the TickEvent data to