org.apache.mina.transport.socket
Interface DatagramConnector

All Superinterfaces:
IoConnector, IoService
All Known Implementing Classes:
NioDatagramConnector

public interface DatagramConnector
extends IoConnector

IoConnector for datagram transport (UDP/IP).

Author:
Apache MINA Project

Method Summary
 InetSocketAddress getDefaultRemoteAddress()
          Returns the default remote address to connect to when no argument is specified in IoConnector.connect() method.
 void setDefaultRemoteAddress(InetSocketAddress remoteAddress)
           
 
Methods inherited from interface org.apache.mina.core.service.IoConnector
connect, connect, connect, connect, connect, connect, getConnectTimeout, getConnectTimeoutMillis, setConnectTimeout, setConnectTimeoutMillis, setDefaultRemoteAddress
 
Methods inherited from interface org.apache.mina.core.service.IoService
addListener, broadcast, dispose, dispose, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionConfig, getSessionDataStructureFactory, getStatistics, getTransportMetadata, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactory
 

Method Detail

getDefaultRemoteAddress

InetSocketAddress getDefaultRemoteAddress()
Description copied from interface: IoConnector
Returns the default remote address to connect to when no argument is specified in IoConnector.connect() method.

Specified by:
getDefaultRemoteAddress in interface IoConnector

setDefaultRemoteAddress

void setDefaultRemoteAddress(InetSocketAddress remoteAddress)


Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.