# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Methods

- Deprecated Interfaces
  Interface and Description
  org.apache.mina.handler.multiton.SingleSessionIoHandler
  org.apache.mina.handler.multiton.SingleSessionIoHandlerFactory

- Deprecated Classes
  Class and Description
  org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
  org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate

- Deprecated Methods
  Method and Description
  org.apache.mina.core.session.IoSession.close() use `IoSession.close(boolean)`
  org.apache.mina.core.session.IoSession.getAttachment() Use `IoSession.getAttribute(Object)` instead.
  org.apache.mina.core.service.IoConnector.getConnectTimeout()
  org.apache.mina.core.service.AbstractIoConnector.getConnectTimeout() Take a look at `getConnectTimeoutMillis()`
  org.apache.mina.core.future.IoFuture.join() Replaced with `IoFuture.awaitUninterruptibly()`.
  org.apache.mina.core.future.DefaultIoFuture.join() Replaced with `DefaultIoFuture.awaitUninterruptibly()`.
  org.apache.mina.core.future.IoFuture.join(long) Replaced with `IoFuture.awaitUninterruptibly(long)`.
  org.apache.mina.core.future.DefaultIoFuture.join(long) Replaced with `DefaultIoFuture.awaitUninterruptibly(long)`.
  org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream.readLine()
  org.apache.mina.core.session.IoSession.setAttachment(Object) Use `IoSession.setAttribute(Object, Object)` instead.
  org.apache.mina.core.service.IoConnector.setConnectTimeout(int)
  org.apache.mina.core.service.AbstractIoConnector.setConnectTimeout(int) Take a look at `setConnectTimeoutMillis(long)`

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