Class IncomingMessage
Helper class that wraps an incoming message
Inherited Members
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
public class IncomingMessage
Constructors
IncomingMessage(SocketEndpoint, Byte[], Int32)
Declaration
public IncomingMessage(SocketEndpoint endpoint, byte[] data, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| SocketEndpoint | endpoint | |
| Byte[] | data | |
| Int32 | size |
Properties
Data
The data provided in the message
Declaration
public byte[] Data { get; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
Endpoint
The endpoint that the message was received from
Declaration
public SocketEndpoint Endpoint { get; }
Property Value
| Type | Description |
|---|---|
| SocketEndpoint |
Size
The size of the data provided in the message
Declaration
public int Size { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |