public interface AsyncSocket
AsyncSocket interface.
AsyncSocketImpl| Modifier and Type | Method and Description |
|---|---|
AsyncSocketImpl |
close()
close.
|
void |
connect(SocketAddress addr)
connect.
|
AsyncInputStream |
getInputStream()
getInputStream.
|
AsyncOutputStream |
getOutputStream()
getOutputStream.
|
IStatefulObject<SocketState,IOException> |
getStateMonitor()
getStateMonitor.
|
Socket |
socket()
socket.
|
SocketChannel |
socketChannel()
socketChannel.
|
AsyncSocketImpl close() throws IOException
close.
AsyncSocketImpl object.IOException - if any.void connect(SocketAddress addr) throws IOException
connect.
addr - a SocketAddress object.IOException - if any.AsyncInputStream getInputStream()
getInputStream.
AsyncInputStream object.AsyncOutputStream getOutputStream()
getOutputStream.
AsyncOutputStream object.IStatefulObject<SocketState,IOException> getStateMonitor()
getStateMonitor.
IStatefulObject object.SocketChannel socketChannel()
socketChannel.
SocketChannel object.Copyright © 2026. All rights reserved.