public class TcpConnectionImpl extends AbstractTcpConnection
| 构造器和说明 |
|---|
TcpConnectionImpl(Session session) |
close, closeCallback, closeNow, exception, getAttachment, getCloseTime, getDuration, getIdleTimeout, getLastActiveTime, getLastReadTime, getLastWrittenTime, getLocalAddress, getOpenTime, getReadBytes, getRemoteAddress, getSessionId, getState, getWrittenBytes, isOpen, receive, setAttachment, shutdownInput, shutdownOutputpublic TcpConnectionImpl(Session session)
public TcpConnection write(ByteBuffer byteBuffer, Action0 succeeded, Action1<Throwable> failed)
public TcpConnection write(ByteBuffer[] byteBuffer, Action0 succeeded, Action1<Throwable> failed)
public TcpConnection write(Collection<ByteBuffer> byteBuffer, Action0 succeeded, Action1<Throwable> failed)
public TcpConnection write(String message, Action0 succeeded, Action1<Throwable> failed)
public TcpConnection write(String message, String charset, Action0 succeeded, Action1<Throwable> failed)
public TcpConnection write(FileRegion file, Action0 succeeded, Action1<Throwable> failed)
public TcpConnection write(ByteBuffer byteBuffer, Action0 succeeded)
public TcpConnection write(ByteBuffer[] byteBuffer, Action0 succeeded)
public TcpConnection write(Collection<ByteBuffer> byteBuffer, Action0 succeeded)
public TcpConnection write(String message, Action0 succeeded)
public TcpConnection write(String message, String charset, Action0 succeeded)
public TcpConnection write(FileRegion file, Action0 succeeded)
public TcpConnection write(ByteBuffer byteBuffer)
public TcpConnection write(ByteBuffer[] byteBuffer)
public TcpConnection write(Collection<ByteBuffer> byteBuffer)
public TcpConnection write(String message)
public TcpConnection write(String message, String charset)
public TcpConnection write(FileRegion file)
Copyright © 2016. All rights reserved.