This commit is contained in:
nathan 2016-03-09 14:05:04 +01:00
parent 1cf59944fa
commit 359c84aab4

View File

@ -36,9 +36,9 @@ class KryoEncoderUdpCrypto extends KryoEncoderUdp {
@Override
void writeObject(CryptoSerializationManager serializationManager, ChannelHandlerContext ctx, Object msg, ByteBuf buffer)
throws IOException {
ChannelHandler last = ctx.pipeline()
.last();
serializationManager.writeWithCrypto((ConnectionImpl) last, buffer, msg);
}
}