public interface IStream extends Stream
Stream.Listener| Modifier and Type | Field and Description |
|---|---|
static String |
CHANNEL_ATTRIBUTE |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Stream.Listener |
getListener() |
int |
getSendWindow() |
ISession |
getSession() |
boolean |
process(Frame frame,
Callback callback) |
void |
setListener(Stream.Listener listener) |
void |
updateClose(boolean update,
boolean local)
Updates the close state of this stream.
|
int |
updateRecvWindow(int delta) |
int |
updateSendWindow(int delta) |
data, getAttribute, getId, getIdleTimeout, headers, isClosed, isReset, push, removeAttribute, reset, setAttribute, setIdleTimeoutstatic final String CHANNEL_ATTRIBUTE
ISession getSession()
getSession in interface StreamStream.Listener getListener()
void setListener(Stream.Listener listener)
void updateClose(boolean update,
boolean local)
update - whether to update the close statelocal - whether the update comes from a local operation
(such as sending a frame that ends the stream)
or a remote operation (such as receiving a frame
that ends the stream).int getSendWindow()
int updateSendWindow(int delta)
int updateRecvWindow(int delta)
void close()
Copyright © 1995-2014 Webtide. All Rights Reserved.