public interface

IOEventDispatch

org.apache.http.nio.reactor.IOEventDispatch
Known Indirect Subclasses

Class Overview

IOEventDispatch interface is used by I/O reactors to notify clients of I/O events pending for a particular session. All methods of this interface are executed on a dispatch thread of the I/O reactor. Therefore, it is important that processing that takes place in the event methods will not block the dispatch thread for too long, as the I/O reactor will be unable to react to other events.

Summary

Public Methods
abstract void connected(IOSession session)
Triggered after the given session has been just created.
abstract void disconnected(IOSession session)
Triggered when the given session has been terminated.
abstract void inputReady(IOSession session)
Triggered when the given session has input pending.
abstract void outputReady(IOSession session)
Triggered when the given session is ready for output.
abstract void timeout(IOSession session)
Triggered when the given session as timed out.

Public Methods

public abstract void connected (IOSession session)

Triggered after the given session has been just created.

Parameters
session the I/O session.

public abstract void disconnected (IOSession session)

Triggered when the given session has been terminated.

Parameters
session the I/O session.

public abstract void inputReady (IOSession session)

Triggered when the given session has input pending.

Parameters
session the I/O session.

public abstract void outputReady (IOSession session)

Triggered when the given session is ready for output.

Parameters
session the I/O session.

public abstract void timeout (IOSession session)

Triggered when the given session as timed out.

Parameters
session the I/O session.