LytroRawMessage Class
Represents a raw message sent between a Lytro camera and its client over network.
Nested types:
Name | Description | |
---|---|---|
![]() | TraceEventHandler | Represents methods that will handle the trace events. |
![]() | TraceEventArgs | Provides data for the tracing events. |
Constructors:
Name | Description | |
---|---|---|
![]() | LytroRawMessage() | Initializes a new instance of the LytroRawMessage class. |
![]() | LytroRawMessage(Byte[]) | Initializes a new instance of the LytroRawMessage class with specified content. |
Properties:
Name | Description | |
---|---|---|
![]() | Content | Gets or sets the message content. |
![]() | Flags | Gets or sets the message flags. |
![]() | Length | Gets or sets the message or buffer length. |
![]() | AdditionalParameters | Gets or sets the second 8 bytes of command and parameters. |
![]() | CommandAndParameters | Gets or sets the first 8 bytes of command and parameters. |
Methods:
Name | Description | |
---|---|---|
![]() | ToArray() | Gets a byte array representing this LytroRawMessage. |
![]() | ReadFrom(Stream) | Reads a LytroRawMessage from a Stream. |
![]() | WriteTo(Stream) | Writes a LytroRawMessage to a Stream. |
Constants:
Name | Description | |
---|---|---|
![]() | IsResponse | When set, the message is a response message. When cleared, the message is a request message. |
![]() | NoContent | When set, the message has no content and the Length denotes a buffer size (maximum allowed content length for the reply). When cleared, the Length denotes the size of the message's content (payload). |
Events:
Name | Description | |
---|---|---|
![]() | TraceData | Called after read or before write opearion for purposes of tracing the data being transfered. |
![]() | TraceHeader | Invoked after read or before write operation for purposes of tracing the headers being transfered. |