public interface ISession extends Session
Session.Listener, Session.StreamListener
Modifier and Type | Method and Description |
---|---|
<C> void |
control(IStream stream,
ControlFrame frame,
long timeout,
TimeUnit unit,
Handler<C> handler,
C context) |
<C> void |
data(IStream stream,
DataInfo dataInfo,
long timeout,
TimeUnit unit,
Handler<C> handler,
C context) |
void |
flush()
Initiates the flush of data to the other peer.
|
addListener, getAttribute, getStream, getStreams, getVersion, goAway, goAway, ping, ping, removeAttribute, removeListener, rst, rst, setAttribute, settings, settings, syn, syn
void flush()
Initiates the flush of data to the other peer.
Note that the flush may do nothing if, for example, there is nothing to flush, or if the data to be flushed belong to streams that have their flow-control stalled.
<C> void control(IStream stream, ControlFrame frame, long timeout, TimeUnit unit, Handler<C> handler, C context)
Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.