Class MessageService

Provides broadcasting services.

System.Object
  Stonefield.Messaging.MessageService
public class MessageService : object, IMessageService

Class Members

MemberDescription

Constructor

The constructor.

BroadcastError

Broadcast an error.

public sealed void BroadcastError(string error,
    string username);

BroadcastMessage

Broadcast a message.

public sealed void BroadcastMessage(Messages message);

RegisterErrorHandler

Registers an error handler.

public void RegisterErrorHandler(Action<String,String> erroraction);

public void RegisterErrorHandler(Action<String,String> erroraction)

RegisterMessageHandler

Register the specified message.

public void RegisterMessageHandler(Messages message,
    Action messageaction);

Requirements

Namespace: Stonefield.Messaging
Assembly: messaging.dll