MessageStore<T> Class

.NET Framework 4.5

Represents a message store that is backed by a ring buffer.

System::Object
  Microsoft.AspNet.SignalR.Messaging::MessageStore<T>

Namespace:  Microsoft.AspNet.SignalR.Messaging
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

generic<typename T>
where T : ref class 
public ref class MessageStore sealed

Type Parameters

T

The type of the elements in the store.

The MessageStore<T> type exposes the following members.

  NameDescription
Public methodMessageStore<T>(UInt32)Initializes a new instance of the MessageStore<T> class with the specified capacity.
Public methodMessageStore<T>(UInt32, UInt32)Initializes a new instance of the MessageStore<T> class.
Top

  NameDescription
Public methodAddAdds a message to the store and returns the ID of the newly added message.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetMessageCountGets the number of messages in the store.
Public methodGetMessagesGets the next batch of messages, beginning with the specified ID.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: