ing
This commit is contained in:
parent
013c6a0f29
commit
0fd48c26ed
|
@ -24,16 +24,16 @@ type GatewayRPCServletHandlers struct {
|
||||||
rpcIO crcwf.ServletHandlers
|
rpcIO crcwf.ServletHandlers
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *GatewayRPCServletHandlers) GetRequest(servletCTX rpc.ServletContext, codec protocol.ServerCodec, conn interface{}) (protocol.ServerRequestCodec, error) {
|
func (sh *GatewayRPCServletHandlers) ReadRequest(servletCTX rpc.ServletContext, codec protocol.ServerCodec, conn interface{}) (protocol.ServerRequestCodec, error) {
|
||||||
return sh.rpcIO.GetRequest(servletCTX, codec, conn)
|
return sh.rpcIO.ReadRequest(servletCTX, codec, conn)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *GatewayRPCServletHandlers) SendResponse(servletCTX rpc.ServletContext, conn interface{}, requestCodec protocol.ServerRequestCodec, result interface{}, err error) error {
|
func (sh *GatewayRPCServletHandlers) WriteResponse(servletCTX rpc.ServletContext, conn interface{}, requestCodec protocol.ServerRequestCodec, result interface{}, err error) error {
|
||||||
return sh.rpcIO.SendResponse(servletCTX, conn, requestCodec, result, err)
|
return sh.rpcIO.WriteResponse(servletCTX, conn, requestCodec, result, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *GatewayRPCServletHandlers) SendNotification(servletCTX rpc.ServletContext, conn interface{}, codec protocol.ServerCodec, method string, args ...interface{}) error {
|
func (sh *GatewayRPCServletHandlers) WriteNotification(servletCTX rpc.ServletContext, conn interface{}, codec protocol.ServerCodec, method string, args []interface{}) error {
|
||||||
return sh.rpcIO.SendNotification(servletCTX, conn, codec, method, args...)
|
return sh.rpcIO.WriteNotification(servletCTX, conn, codec, method, args)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, requestCodec protocol.RegistryCodec) (result interface{}, err error) {
|
func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, requestCodec protocol.RegistryCodec) (result interface{}, err error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user