Msg Class

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This class is the superclass of all message classes in MSN Direct Services. This class provides virtual methods which all message classes implement.

Syntax

class Msg

Methods

Method Description

Msg Constructor

Creates an empty message class.

Msg::AppIDToString

Converts the specified application ID to a human-readable string.

Msg::Dump

Writes output to the debugger for this message.

Msg::GetApplicationType

Can be implemented in a subclass to return the application type.

Msg::GetBuffer

Can be implemented to return a pointer to the first byte of the message after the beginning-of-frame.

Msg::GetBufferWithFrames

Can be implemented in a subclass to return a pointer to the first byte of the message, which includes the beginning-of-frame.

Msg::GetSize

Can be implemented in a subclass to return the size of the message, subtracting the bytes used for framing.

Msg::GetSizeWithFrames

Can be implemented in a subclass to return the size of the message, which includes framing.

Msg::GetTransactionId

Can be implemented in a subclass to return the transaction ID of the current message.

Msg::IsErrorCodeOnly

Can be implemented to return true if this message contains only the error code in its payload.

Msg::IsResponse

Can be implemented in a subclass to return true if this message is a response message.

Msg::SetTransactionId

Can be implemented in a subclass to set the transaction ID of the current message.

Requirements

Header DBRLib.h
Library DBRLib.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

MSN Direct Services Classes