public interface DatagramConnector extends IoConnector
IoConnector for datagram transport (UDP/IP).| Modifier and Type | Method and Description |
|---|---|
java.net.InetSocketAddress |
getDefaultRemoteAddress()
Returns the default remote InetSocketAddress to connect to when no argument
is specified in
IoConnector.connect() method. |
DatagramSessionConfig |
getSessionConfig()
Returns the default configuration of the new FatagramSessions created by
this connect service.
|
void |
setDefaultRemoteAddress(java.net.InetSocketAddress remoteAddress)
Sets the default remote InetSocketAddress to connect to when no argument is
specified in
IoConnector.connect() method. |
connect, connect, connect, connect, connect, connect, getConnectTimeout, getConnectTimeoutMillis, getDefaultLocalAddress, setConnectTimeout, setConnectTimeoutMillis, setDefaultLocalAddress, setDefaultRemoteAddressaddListener, broadcast, dispose, dispose, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, getTransportMetadata, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactoryjava.net.InetSocketAddress getDefaultRemoteAddress()
IoConnector.connect() method.
This method overrides the IoConnector.getDefaultRemoteAddress() method.getDefaultRemoteAddress in interface IoConnectorDatagramSessionConfig getSessionConfig()
getSessionConfig in interface IoServicevoid setDefaultRemoteAddress(java.net.InetSocketAddress remoteAddress)
IoConnector.connect() method.
This method overrides the IoConnector.setDefaultRemoteAddress(java.net.SocketAddress) method.