public override ResponseMessage PerformService(Scope <object> clientSessionScope) { var sessionManagerMap = (DictionaryList <object, WebSocketClientSessionManager>) clientSessionScope.Get(SessionObjects.SessionsMap); var sessionId = (string)clientSessionScope.Get(SessionObjects.SessionId); var update = new TestServiceUpdate(message, sessionId); foreach (WebSocketClientSessionManager client in sessionManagerMap.Values) { client.SendUpdateToClient(update, client.SessionId); } return(new TestServiceResponse(TestServiceConstants.ServicePrefix + message)); }
public void OnReceiveUpdate(TestServiceUpdate response) { //throw new NotImplementedException(); }