public interface NetTask
Modifier and Type | Interface and Description |
---|---|
static interface |
NetTask.SendBufferNotice |
Modifier and Type | Method and Description |
---|---|
void |
attachSSL(byte[] negotiationData) |
void |
attachSSL(SSLEngineDecorator decorator,
byte[] negotiationData) |
void |
cancel(java.lang.Throwable closeReason) |
Alarm |
createAlarm(java.lang.String description) |
void |
detachSSL() |
void |
disable() |
void |
enable() |
void |
execute(java.lang.Runnable r) |
long |
getSendBufferSize() |
javax.net.ssl.SSLSession |
getSSLSession() |
boolean |
isSSLSupported() |
void |
renegotiateSSL() |
void |
resetAlarm(long milliseconds) |
void |
send(byte[] data) |
void |
send(byte[] data,
int off,
int len) |
void |
send(java.nio.ByteBuffer bb) |
void |
send(java.nio.ByteBuffer[] bbs) |
void |
sendFinal() |
void |
sendFinal(long timeout) |
void |
setSendBufferNotice(NetTask.SendBufferNotice notice,
java.lang.Object attachment) |
void |
setServiceShutdownNotice(java.lang.Runnable notice) |
void send(java.nio.ByteBuffer[] bbs)
void send(java.nio.ByteBuffer bb)
void send(byte[] data, int off, int len)
void send(byte[] data)
void sendFinal(long timeout)
void sendFinal()
void cancel(java.lang.Throwable closeReason)
void disable()
void enable()
long getSendBufferSize()
void setSendBufferNotice(NetTask.SendBufferNotice notice, java.lang.Object attachment)
void setServiceShutdownNotice(java.lang.Runnable notice)
Alarm createAlarm(java.lang.String description)
void resetAlarm(long milliseconds)
void execute(java.lang.Runnable r)
boolean isSSLSupported()
void attachSSL(byte[] negotiationData)
void attachSSL(SSLEngineDecorator decorator, byte[] negotiationData)
void detachSSL()
void renegotiateSSL()
javax.net.ssl.SSLSession getSSLSession()