/** {@inheritDoc} */ @Override public void write(byte[] data, int offset, int length) throws IOException { if (!outbound.isOpen()) throw new IOException("Connection remotely closed"); logger.trace("WebSocket.write()"); outbound.sendMessage(frame, data, offset, length); }
/** {@inheritDoc} */ @Override public void close() throws IOException { outbound.disconnect(); }
/** {@inheritDoc} */ @Override public void write(String data) throws IOException { if (!outbound.isOpen()) throw new IOException("Connection remotely closed"); logger.trace("WebSocket.write()"); outbound.sendMessage(frame, data); }