/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
@Override public void read( Connection<SocketAddress> connection, Buffer message, CompletionHandler<ReadResult<Buffer, SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor) { read(connection, message, completionHandler, interceptor, connection.getReadTimeout(TimeUnit.MILLISECONDS), TimeUnit.MILLISECONDS); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }
/** * Method writes the {@link WritableMessage} to the specific address. * * @param connection the {@link org.glassfish.grizzly.Connection} to write to * @param dstAddress the destination address the <tt>message</tt> will be * sent to * @param message the {@link WritableMessage}, from which the data will be written * @param completionHandler {@link org.glassfish.grizzly.CompletionHandler}, * which will get notified, when write will be completed */ public void write( Connection<SocketAddress> connection, SocketAddress dstAddress, WritableMessage message, CompletionHandler<WriteResult<WritableMessage, SocketAddress>> completionHandler, long timeout, TimeUnit timeunit) { write(connection, dstAddress, message, completionHandler, null, timeout, timeunit); }