view Messaging/Server/EndPoints/SocketEndPoint.cs @ 27:96fdf58e05b4

Server working with sockets and rabbitmq
author adminsh@apollo
date Wed, 21 Mar 2012 19:00:59 +0000
parents
children
line wrap: on
line source

using Common.Messages;
using GalaSoft.MvvmLight.Messaging;
using Server.Interfaces;

namespace Server.EndPoints
{
    public class SocketEndPoint : BaseEndPoint
    {
        public SocketEndPoint(IListener listener) : base(listener)
        {
            Init();
        }

        public override sealed void Init()
        {
            Messenger.Default.Register<SocketLogMessage>(this, LogMessageReceived);
        }
    }
}