public interface UpgradedSocket
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the socket.
|
void |
shutdownOutput(IOCompletionHandler<Integer> handler)
Send a "shutdown" to shutdown output onthe socket without closing it.
|
void |
startReading(IOCompletionHandler<ByteBuffer> handler)
Start reading by delivering data to the handler.
|
void |
stopReading()
Stop reading data from the socket for flow-control purposes.
|
int |
write(ByteBuffer buf,
IOCompletionHandler<Integer> handler)
Called to write data back to the socket.
|
int write(ByteBuffer buf, IOCompletionHandler<Integer> handler)
void startReading(IOCompletionHandler<ByteBuffer> handler)
void stopReading()
void close()
void shutdownOutput(IOCompletionHandler<Integer> handler)
Copyright © 2016 Apigee Corporation. All Rights Reserved.