public interface Session extends Endpoint
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
int |
getIncomingBytes() |
int |
getIncomingCapacity() |
int |
getOutgoingBytes() |
long |
getOutgoingWindow() |
Session |
next(java.util.EnumSet<EndpointState> local,
java.util.EnumSet<EndpointState> remote) |
Receiver |
receiver(java.lang.String name)
Returns a newly created receiver endpoint
|
Sender |
sender(java.lang.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, setContextattachmentsSender sender(java.lang.String name)
Receiver receiver(java.lang.String name)
Session next(java.util.EnumSet<EndpointState> local, java.util.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 size