12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using SuperSocket.SocketBase.Protocol;
- using SuperSocket.SocketBase.Command;
- namespace SuperSocket.SocketBase
- {
-
-
-
- public class CommandExecutingContext
- {
-
-
-
- public IAppSession Session { get; private set; }
-
-
-
- public IRequestInfo RequestInfo { get; private set; }
-
-
-
- public ICommand CurrentCommand { get; private set; }
-
-
-
-
-
-
- public Exception Exception { get; internal set; }
-
-
-
-
-
-
- public bool ExceptionHandled { get; internal set; }
-
-
-
-
-
-
- public bool Cancel { get; set; }
-
-
-
-
-
-
- public void Initialize(IAppSession session, IRequestInfo requestInfo, ICommand command)
- {
- Session = session;
- RequestInfo = requestInfo;
- CurrentCommand = command;
- }
- }
- }
|