public interface SocketHandle extends Handle
| Modifier and Type | Method and Description |
|---|---|
void |
bind(String address,
int port) |
void |
connect(String host,
int port,
IOCompletionHandler<Integer> handler) |
InetSocketAddress |
getPeerName() |
InetSocketAddress |
getSockName() |
void |
listen(int backlog,
IOCompletionHandler<AbstractHandle> handler) |
void |
setKeepAlive(boolean nd) |
void |
setNoDelay(boolean nd) |
void |
shutdown(IOCompletionHandler<Integer> handler) |
close, getReadHandler, getWritesOutstanding, setReadHandler, startReading, stopReading, write, write, writeHandle, writeHandlevoid bind(String address, int port) throws OSException
OSExceptionvoid listen(int backlog,
IOCompletionHandler<AbstractHandle> handler)
throws OSException
OSExceptionvoid connect(String host, int port, IOCompletionHandler<Integer> handler) throws OSException
OSExceptionvoid shutdown(IOCompletionHandler<Integer> handler)
InetSocketAddress getSockName()
InetSocketAddress getPeerName()
void setNoDelay(boolean nd)
throws OSException
OSExceptionvoid setKeepAlive(boolean nd)
throws OSException
OSExceptionCopyright © 2016 Apigee Corporation. All Rights Reserved.