views:

5

answers:

0

I wanna create communication server as the following:

public interface ICommnuicationServer

{

    void Send(object sessionId, object message);

    void Send(IList<object> sessionIds, object message);

    void Broadcast(object message);

}

How can i manage and store this session by sessionId?