public interface Session extends Endpoint
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
int |
getIncomingBytes() |
int |
getIncomingCapacity() |
int |
getOutgoingBytes() |
long |
getOutgoingWindow() |
Session |
next(EnumSet<EndpointState> local,
EnumSet<EndpointState> remote) |
Receiver |
receiver(String name)
Returns a newly created receiver endpoint
|
Sender |
sender(String name)
Returns a newly created sender endpoint
|
void |
setIncomingCapacity(int bytes) |
void |
setOutgoingWindow(long outgoingWindowSize)
Sets the outgoing window size.
|
close, free, getCondition, getContext, getLocalState, getRemoteCondition, getRemoteState, open, setCondition, setContext
attachments
Session next(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
Connection getConnection()
int getIncomingCapacity()
void setIncomingCapacity(int bytes)
int getIncomingBytes()
int getOutgoingBytes()
long getOutgoingWindow()
void setOutgoingWindow(long outgoingWindowSize)
outgoingWindowSize
- the outgoing window sizeCopyright © 2016 The Apache Software Foundation. All rights reserved.