/// <summary> /// FIXME send Message, not string /// </summary> /// <param name="msg"></param> /// <returns></returns> public static bool SendToTarget(Message message, SessionID sessionID) { message.SetSessionID(sessionID); Session session = Session.LookupSession(sessionID); if (null == session) { throw new SessionNotFound(sessionID); } return(session.Send(message)); }