public class NioWriter extends Object
Constructor and Description |
---|
NioWriter(Object lock,
SocketChannel channel,
org.jetlang.fibers.NioFiber fiber) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SocketChannel |
getChannel() |
SocketAddress |
getRemoteAddress() |
SendResult |
send(ByteBuffer bb) |
SendResult |
sendWsMsg(byte opCode,
byte[] bytes,
int offset,
int length,
byte[] maskBytes) |
public NioWriter(Object lock, SocketChannel channel, org.jetlang.fibers.NioFiber fiber)
public SendResult send(ByteBuffer bb)
public void close()
public SocketChannel getChannel()
public SocketAddress getRemoteAddress()
public SendResult sendWsMsg(byte opCode, byte[] bytes, int offset, int length, byte[] maskBytes)
Copyright © 2017. All Rights Reserved.