public class Window extends AbstractLoggingBean
log| Constructor and Description |
|---|
Window(AbstractChannel channel,
Object lock,
boolean client,
boolean local) |
| Modifier and Type | Method and Description |
|---|---|
void |
check(int maxFree) |
void |
consume(int len) |
void |
consumeAndCheck(int len) |
void |
expand(int window) |
int |
getMaxSize() |
int |
getPacketSize() |
Map<String,?> |
getProperties() |
int |
getSize() |
void |
init(FactoryManager manager) |
void |
init(int size,
int packetSize,
Map<String,?> props) |
void |
init(Map<String,?> props) |
void |
init(Session session) |
void |
notifyClosed() |
String |
toString() |
void |
waitAndConsume(int len) |
int |
waitForSpace() |
public Window(AbstractChannel channel, Object lock, boolean client, boolean local)
public int getSize()
public int getMaxSize()
public int getPacketSize()
public void init(Session session)
public void init(FactoryManager manager)
public void expand(int window)
public void consume(int len)
public void consumeAndCheck(int len)
throws IOException
IOExceptionpublic void check(int maxFree)
throws IOException
IOExceptionpublic void waitAndConsume(int len)
throws InterruptedException,
WindowClosedException
public int waitForSpace()
throws InterruptedException,
WindowClosedException
public void notifyClosed()
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.