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 @Override
void writeObject(CryptoSerializationManager serializationManager, ChannelHandlerContext ctx, Object msg, ByteBuf buffer) void writeObject(CryptoSerializationManager serializationManager, ChannelHandlerContext ctx, Object msg, ByteBuf buffer)
throws IOException { throws IOException {
ChannelHandler last = ctx.pipeline() ChannelHandler last = ctx.pipeline()
.last(); .last();
serializationManager.writeWithCrypto((ConnectionImpl) last, buffer, msg); serializationManager.writeWithCrypto((ConnectionImpl) last, buffer, msg);
} }
} }