C# Class SensorShare.MessageHelper

Show file Open project: MarkPaxton/SensorShare3

Public Methods

Method Description
DeserializeAnnotationTimes ( byte data ) : List
DeserializeAnswerMessage ( byte data ) : AnswerMessage
DeserializeNoteMessage ( byte data ) : NoteMessage
DeserializeQuestionMessage ( byte data ) : QuestionMessage
DeserializeReadingsRequest ( byte data ) : ReadingsRequest
DeserializeSensorDescriptionsData ( byte data ) : SensorDescriptionsData
DeserializeSensorReadingsData ( byte data ) : SensorReadingsData
DeserializeSensorReadingsDataList ( byte data ) : List
SerializeAnnotationTimes ( MemoryStream ms, List data ) : void
SerializeAnswerMessage ( MemoryStream ms, AnswerMessage message ) : void
SerializeNoteMessage ( MemoryStream ms, NoteMessage message ) : void
SerializeQuestionMessage ( MemoryStream ms, QuestionMessage message ) : void
SerializeReadingsRequest ( MemoryStream ms, ReadingsRequest data ) : void
SerializeSensorDescriptionsDataTimes ( MemoryStream ms, SensorDescriptionsData data ) : void
SerializeSensorReadingsData ( MemoryStream ms, SensorReadingsData data ) : void
SerializeSensorReadingsDataList ( MemoryStream ms, List data ) : void

Private Methods

Method Description
deserialiseItem ( XmlSerializer serializer, byte data ) : object

Method Details

DeserializeAnnotationTimes() public static method

public static DeserializeAnnotationTimes ( byte data ) : List
data byte
return List

DeserializeAnswerMessage() public static method

public static DeserializeAnswerMessage ( byte data ) : AnswerMessage
data byte
return AnswerMessage

DeserializeNoteMessage() public static method

public static DeserializeNoteMessage ( byte data ) : NoteMessage
data byte
return NoteMessage

DeserializeQuestionMessage() public static method

public static DeserializeQuestionMessage ( byte data ) : QuestionMessage
data byte
return QuestionMessage

DeserializeReadingsRequest() public static method

public static DeserializeReadingsRequest ( byte data ) : ReadingsRequest
data byte
return ReadingsRequest

DeserializeSensorDescriptionsData() public static method

public static DeserializeSensorDescriptionsData ( byte data ) : SensorDescriptionsData
data byte
return SensorDescriptionsData

DeserializeSensorReadingsData() public static method

public static DeserializeSensorReadingsData ( byte data ) : SensorReadingsData
data byte
return SensorReadingsData

DeserializeSensorReadingsDataList() public static method

public static DeserializeSensorReadingsDataList ( byte data ) : List
data byte
return List

SerializeAnnotationTimes() public static method

public static SerializeAnnotationTimes ( MemoryStream ms, List data ) : void
ms System.IO.MemoryStream
data List
return void

SerializeAnswerMessage() public static method

public static SerializeAnswerMessage ( MemoryStream ms, AnswerMessage message ) : void
ms System.IO.MemoryStream
message AnswerMessage
return void

SerializeNoteMessage() public static method

public static SerializeNoteMessage ( MemoryStream ms, NoteMessage message ) : void
ms System.IO.MemoryStream
message NoteMessage
return void

SerializeQuestionMessage() public static method

public static SerializeQuestionMessage ( MemoryStream ms, QuestionMessage message ) : void
ms System.IO.MemoryStream
message QuestionMessage
return void

SerializeReadingsRequest() public static method

public static SerializeReadingsRequest ( MemoryStream ms, ReadingsRequest data ) : void
ms System.IO.MemoryStream
data ReadingsRequest
return void

SerializeSensorDescriptionsDataTimes() public static method

public static SerializeSensorDescriptionsDataTimes ( MemoryStream ms, SensorDescriptionsData data ) : void
ms System.IO.MemoryStream
data SensorDescriptionsData
return void

SerializeSensorReadingsData() public static method

public static SerializeSensorReadingsData ( MemoryStream ms, SensorReadingsData data ) : void
ms System.IO.MemoryStream
data SensorReadingsData
return void

SerializeSensorReadingsDataList() public static method

public static SerializeSensorReadingsDataList ( MemoryStream ms, List data ) : void
ms System.IO.MemoryStream
data List
return void