public abstract class RecvResponse<T extends InvarCodec.ProtocRequest,R extends InvarCodec.ProtocResponse> extends Object
| Constructor and Description |
|---|
RecvResponse(T request) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
handle(R response,
SendContext context) |
static <R extends InvarCodec.ProtocResponse,C extends SendContext> |
recv(C ctx,
R resp) |
public RecvResponse(T request)
public static <R extends InvarCodec.ProtocResponse,C extends SendContext> int recv(C ctx, R resp)
public abstract void handle(R response, SendContext context)
Copyright © 2015–2023 The Struqt Project. All rights reserved.