DotMSN |

# MessagePool Class

Stores incoming messages in a buffer and releases them only when all contents are received.

For a list of all members of this type, see MessagePool Members.

System.Object
XihSolutions.DotMSN.Core.MessagePool
XihSolutions.DotMSN.Core.NSMessagePool
XihSolutions.DotMSN.DataTransfer.P2PDCPool

[Visual Basic]
MustInherit Public Class MessagePool
[C#]
public abstract class MessagePool

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Remarks

MessagePool buffers incoming raw byte data and releases this data only when the message is fully retrieved. This supports when a single message is send in multiple packets. The descendants of this class have simple knowledge of the used protocol to identify whether a message is fully retrieved or not.

#### Requirements

Namespace: XihSolutions.DotMSN.Core

Assembly: XihSolutions.DotMSN (in XihSolutions.DotMSN.dll)

#### See Also

MessagePool Members | XihSolutions.DotMSN.Core Namespace