public interface IStreamHandler extends IHandler, IStreamReader
IHandler
interface to cover stream-oriented functionalities.Modifier and Type | Method and Description |
---|---|
IStreamSession |
getSession()
Returns the stream-oriented session that is associated with this
handler.
|
void |
setSession(ISession session)
Set the stream-oriented session that will be associated with this handler.
|
event, event, exception, getConfig, getFactory, getName, incident, read, read, read, timer, timer
available, available, read, read
void setSession(ISession session)
setSession
in interface IHandler
session
- the stream-oriented sessionIllegalArgumentException
- when the session argument is not an instance of the
IStreamSession
interface.IStreamSession getSession()
getSession
in interface IHandler
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.