org.apache.mina.transport.socket
Interface SocketService

All Superinterfaces:
IoService
All Known Subinterfaces:
SocketAcceptor, SocketConnector
All Known Implementing Classes:
AprSocketAcceptor, AprSocketConnector, NioSocketAcceptor, NioSocketConnector

public interface SocketService
extends IoService

IoService for socket transport (TCP/IP).

Version:
$Rev: 576455 $, $Date: 2007-09-17 16:39:24 +0200 (Mon, 17 Sep 2007) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Method Summary
 SocketSessionConfig getSessionConfig()
          Returns the default configuration of the new IoSessions created by this service.
 
Methods inherited from interface org.apache.mina.common.IoService
addListener, broadcast, dispose, getActivationTime, getBothIdleCount, getBothIdleTime, getBothIdleTimeInMillis, getCumulativeManagedSessionCount, getFilterChain, getFilterChainBuilder, getHandler, getIdleCount, getIdleTime, getIdleTimeInMillis, getLargestManagedSessionCount, getLargestReadBytesThroughput, getLargestReadMessagesThroughput, getLargestWrittenBytesThroughput, getLargestWrittenMessagesThroughput, getLastBothIdleTime, getLastIdleTime, getLastIoTime, getLastReaderIdleTime, getLastReadTime, getLastWriterIdleTime, getLastWriteTime, getManagedSessionCount, getManagedSessions, getReadBytes, getReadBytesThroughput, getReaderIdleCount, getReaderIdleTime, getReaderIdleTimeInMillis, getReadMessages, getReadMessagesThroughput, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getThroughputCalculationInterval, getThroughputCalculationIntervalInMillis, getTransportMetadata, getWriterIdleCount, getWriterIdleTime, getWriterIdleTimeInMillis, getWrittenBytes, getWrittenBytesThroughput, getWrittenMessages, getWrittenMessagesThroughput, isActive, isBothIdle, isDisposed, isDisposing, isIdle, isReaderIdle, isWriterIdle, removeListener, setBothIdleTime, setFilterChainBuilder, setHandler, setIdleTime, setReaderIdleTime, setSessionDataStructureFactory, setThroughputCalculationInterval, setWriterIdleTime
 

Method Detail

getSessionConfig

SocketSessionConfig getSessionConfig()
Description copied from interface: IoService
Returns the default configuration of the new IoSessions created by this service.

Specified by:
getSessionConfig in interface IoService


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