public interface SynchronousNetworkChannel<M>
| Modifier and Type | Method and Description |
|---|---|
void |
bind(SocketAddress localAddress) |
void |
close() |
void |
connect(SocketAddress remoteAddress) |
boolean |
isBound() |
boolean |
isConnected() |
boolean |
isOpen() |
void |
open() |
void |
receive() |
void |
send(M message) |
void |
send(M message,
SocketAddress remoteAddress) |
boolean isOpen()
void open()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionboolean isBound()
void bind(SocketAddress localAddress) throws IOException
IOExceptionboolean isConnected()
void connect(SocketAddress remoteAddress) throws IOException
IOExceptionvoid receive()
throws IOException
IOExceptionvoid send(M message) throws IOException
IOExceptionvoid send(M message, SocketAddress remoteAddress) throws IOException
IOExceptionCopyright © 2017 TeleStax, Inc.. All Rights Reserved.