1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using SuperSocket.SocketBase.Command;
- using SuperWebSocket.Protocol;
- namespace SuperWebSocket.Command
- {
-
-
-
-
- class HandShake<TWebSocketSession> : CommandBase<TWebSocketSession, IWebSocketFragment>
- where TWebSocketSession : WebSocketSession<TWebSocketSession>, new()
- {
-
-
-
- public override string Name
- {
- get
- {
- return OpCode.HandshakeTag;
- }
- }
-
-
-
-
-
- public override void ExecuteCommand(TWebSocketSession session, IWebSocketFragment requestInfo)
- {
- session.OnHandshakeSuccess();
- }
- }
- }
|