|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ASocket
A socket wrapper interface
Method Summary | |
---|---|
Promise<Void> |
connect(String host,
int port)
Connect socket to specified port and host |
Promise<Boolean> |
getTcpNoDelay()
Get value of TCP_NODELAY option |
Promise<Void> |
setTcpNoDelay(boolean optionValue)
Set TCP_NODELAY option |
Methods inherited from interface net.sf.asyncobjects.io.AChannel |
---|
getInput, getOutput |
Methods inherited from interface net.sf.asyncobjects.ACloseable |
---|
close |
Methods inherited from interface net.sf.asyncobjects.AsyncObject |
---|
dereference, isImmediate |
Method Detail |
---|
Promise<Void> connect(String host, int port)
host
- a hostport
- a port
Promise<Void> setTcpNoDelay(boolean optionValue)
optionValue
- option value
Socket.setTcpNoDelay(boolean)
Promise<Boolean> getTcpNoDelay()
Socket.getTcpNoDelay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |