@@ -47,7 +47,7 @@ class PgDecoder extends ChannelInboundHandlerAdapter {
4747 }
4848
4949 void fireCommandResponse (CommandResponse <?> commandResponse ) {
50- PgCommandCodec <?, ?> c = codec .poll ();
50+ PgCommandMessage <?, ?> c = codec .poll ();
5151 commandResponse .handler = (Completable ) c .handler ;
5252 chctx .fireChannelRead (commandResponse );
5353 }
@@ -203,8 +203,8 @@ private void decodeCommandComplete(ByteBuf in) {
203203 }
204204
205205 private void decodeDataRow (ByteBuf in ) {
206- PgCommandCodec <?, ?> cmdCodec = codec .peek ();
207- QueryCommandBaseCodec <?, ?> cmd = (QueryCommandBaseCodec <?, ?>) cmdCodec ;
206+ PgCommandMessage <?, ?> cmdCodec = codec .peek ();
207+ QueryBasePgCommandMessage <?, ?> cmd = (QueryBasePgCommandMessage <?, ?>) cmdCodec ;
208208 int len = in .readUnsignedShort ();
209209 cmd .rowDecoder .handleRow (len , in );
210210 }
@@ -253,7 +253,7 @@ private void decodeError(ChannelHandlerContext ctx, ByteBuf in) {
253253 decodeErrorOrNotice (response , in );
254254 switch (response .getCode ()) {
255255 default :
256- PgCommandCodec <?, ?> cmd = codec .peek ();
256+ PgCommandMessage <?, ?> cmd = codec .peek ();
257257 if (cmd != null ) {
258258 cmd .handleErrorResponse (response );
259259 }
@@ -361,7 +361,7 @@ private void decodeErrorOrNotice(Response response, ByteBuf in) {
361361
362362 private void decodeAuthentication (ByteBuf in ) {
363363 int type = in .readInt ();
364- PgCommandCodec <?, ?> pending = codec .peek ();
364+ PgCommandMessage <?, ?> pending = codec .peek ();
365365 switch (type ) {
366366 case PgProtocolConstants .AUTHENTICATION_TYPE_OK : {
367367 pending .handleAuthenticationOk ();
0 commit comments