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, timeravailable, available, read, readvoid setSession(ISession session)
setSession in interface IHandlersession - the stream-oriented sessionIllegalArgumentException - when the session argument is not an instance of the
IStreamSession interface.IStreamSession getSession()
getSession in interface IHandlerCopyright © 2017–2022 SNF4J.ORG. All rights reserved.