}
} catch (IOException e) {
log.error(e);
throw new CommunicationException(e);
}
PlainDownPacket downPacket = new PlainDownPacket();
ByteBuffer buffer = ByteBuffer.allocate(marshalled.length);
buffer.put(marshalled);
buffer.flip();
downPacket.setBuffers(Collections.singleton(buffer));
synchronized(protocol) {
try {
protocol.sendDown(downPacket);
} catch (ProtocolException e) {
log.error(e);