using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SuperSocket.SocketBase { /// /// Used for session level event handler /// /// the type of the target session /// the target session public delegate void SessionHandler(TAppSession session) where TAppSession : IAppSession; /// /// Used for session level event handler /// /// the type of the target session /// the target session /// the target session /// the event parameter public delegate void SessionHandler(TAppSession session, TParam value) where TAppSession : IAppSession; }