Class LytroRawMessage Class

Represents a raw message sent between a Lytro camera and its client over network.

Nested types:

NameDescription
Nested typeTraceEventHandler Represents methods that will handle the trace events.
Nested typeTraceEventArgs Provides data for the tracing events.

Constructors:

NameDescription
Public methodLytroRawMessage() Initializes a new instance of the LytroRawMessage class.
Public methodLytroRawMessage(Byte[]) Initializes a new instance of the LytroRawMessage class with specified content.

Properties:

NameDescription
Public propertyContent Gets or sets the message content.
Public propertyFlags Gets or sets the message flags.
Public propertyLength Gets or sets the message or buffer length.
Public propertyAdditionalParameters Gets or sets the second 8 bytes of command and parameters.
Public propertyCommandAndParameters Gets or sets the first 8 bytes of command and parameters.

Methods:

NameDescription
Public methodToArray() Gets a byte array representing this LytroRawMessage.
Public methodReadFrom(Stream) Reads a LytroRawMessage from a Stream.
Public methodWriteTo(Stream) Writes a LytroRawMessage to a Stream.

Constants:

NameDescription
Public constantIsResponse When set, the message is a response message. When cleared, the message is a request message.
Public constantNoContent 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:

NameDescription
Public eventTraceData Called after read or before write opearion for purposes of tracing the data being transfered.
Public eventTraceHeader Invoked after read or before write operation for purposes of tracing the headers being transfered.