public static class FlowControlStrategy.None extends Object implements FlowControlStrategy
FlowControlStrategy.None
Constructor and Description |
---|
FlowControlStrategy.None() |
FlowControlStrategy.None(int windowSize) |
Modifier and Type | Method and Description |
---|---|
int |
getWindowSize(ISession session) |
void |
onDataConsumed(ISession session,
IStream stream,
DataInfo dataInfo,
int delta) |
void |
onDataReceived(ISession session,
IStream stream,
DataInfo dataInfo) |
void |
onNewStream(ISession session,
IStream stream) |
void |
onWindowUpdate(ISession session,
IStream stream,
int delta) |
void |
setWindowSize(ISession session,
int windowSize) |
void |
updateWindow(ISession session,
IStream stream,
int delta) |
public FlowControlStrategy.None()
public FlowControlStrategy.None(int windowSize)
public int getWindowSize(ISession session)
getWindowSize
in interface FlowControlStrategy
public void setWindowSize(ISession session, int windowSize)
setWindowSize
in interface FlowControlStrategy
public void onNewStream(ISession session, IStream stream)
onNewStream
in interface FlowControlStrategy
public void onWindowUpdate(ISession session, IStream stream, int delta)
onWindowUpdate
in interface FlowControlStrategy
public void updateWindow(ISession session, IStream stream, int delta)
updateWindow
in interface FlowControlStrategy
public void onDataReceived(ISession session, IStream stream, DataInfo dataInfo)
onDataReceived
in interface FlowControlStrategy
public void onDataConsumed(ISession session, IStream stream, DataInfo dataInfo, int delta)
onDataConsumed
in interface FlowControlStrategy
Copyright © 1995-2015 Webtide. All Rights Reserved.