@Override
    public boolean writeStream(byte[] b) {
        try {
            dataChannel.write(ByteBuffer.wrap(b));
            return true;
        } catch (IOException e) {
            log.error("", e);
        }
        return false;
    }
@ Override public boolean writeStream ( byte [ ] b ) { try { dataChannel . write ( ByteBuffer . wrap ( b ) ) ; return true ; } catch ( IOException e ) { log . error ( "" , e ) ; } return false ; }
{@inheritDoc}