public final class WriteHandler extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected Connection |
connection |
protected ConnectionManager |
connectionManager |
protected InOutSelector |
inOutSelector |
protected ILogger |
logger |
protected SelectionKey |
sk |
protected SocketChannelWrapper |
socketChannel |
protected SystemLogService |
systemLogService |
Modifier and Type | Method and Description |
---|---|
void |
enqueueSocketWritable(SocketWritable socketWritable) |
SocketWriter |
getSocketWriter() |
void |
handle() |
void |
run() |
void |
setProtocol(String protocol) |
void |
shutdown() |
int |
size() |
protected final ILogger logger
protected final SocketChannelWrapper socketChannel
protected final Connection connection
protected final InOutSelector inOutSelector
protected final ConnectionManager connectionManager
protected final SystemLogService systemLogService
protected SelectionKey sk
public void setProtocol(String protocol)
public SocketWriter getSocketWriter()
public void enqueueSocketWritable(SocketWritable socketWritable)
public void handle()
handle
in interface SelectionHandler
public void shutdown()
public int size()
Copyright © 2013 Hazelcast, Inc.. All rights reserved.