This commit is contained in:
crusader 2017-11-28 19:44:45 +09:00
parent 5ddd34f39d
commit d6f1d97687
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ type ServletContext interface {
servlet.ServletContext servlet.ServletContext
} }
func newServletContext(socketCTX cwf.SocketContext) SocketContext { func newServletContext(socketCTX cwf.SocketContext) ServletContext {
sCTX := &servletContext{} sCTX := &servletContext{}
sCTX.ServletContext = servlet.NewServletContext(socketCTX) sCTX.ServletContext = servlet.NewServletContext(socketCTX)

View File

@ -47,7 +47,7 @@ func (sh *RPCGatewayServletHandlers) Handshake(serverCTX cwf.ServerContext, ctx
return sh.gwRPCHandler.Handshake(serverCTX, ctx) return sh.gwRPCHandler.Handshake(serverCTX, ctx)
} }
func (sh *SocketHandlers) SocketContext(serverCTX cwf.ServerContext) cwf.SocketContext { func (sh *RPCGatewayServletHandlers) SocketContext(serverCTX cwf.ServerContext) cwf.SocketContext {
socketCTX := sh.SocketContext(serverCTX) socketCTX := sh.SocketContext(serverCTX)
return newServletContext(socketCTX) return newServletContext(socketCTX)