public class SessionImpl extends EndpointImpl implements ProtonJSession
| Modifier and Type | Method and Description |
|---|---|
ConnectionImpl |
getConnection() |
protected ConnectionImpl |
getConnectionImpl() |
int |
getIncomingBytes() |
int |
getIncomingCapacity() |
int |
getOutgoingBytes() |
long |
getOutgoingWindow() |
Session |
next(EnumSet<EndpointState> local,
EnumSet<EndpointState> remote) |
ReceiverImpl |
receiver(String name)
Returns a newly created receiver endpoint
|
SenderImpl |
sender(String name)
Returns a newly created sender endpoint
|
void |
setIncomingCapacity(int capacity) |
void |
setOutgoingWindow(long outgoingWindow)
Sets the outgoing window size.
|
attachments, close, free, getCondition, getContext, getLocalState, getRemoteCondition, getRemoteState, open, setCondition, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, free, getCondition, getContext, getLocalState, getRemoteCondition, getRemoteState, open, setCondition, setContextattachmentspublic SenderImpl sender(String name)
Sessionsender in interface ProtonJSessionsender in interface Sessionpublic ReceiverImpl receiver(String name)
Sessionpublic Session next(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
protected ConnectionImpl getConnectionImpl()
getConnectionImpl in class EndpointImplpublic ConnectionImpl getConnection()
getConnection in interface Sessionpublic int getIncomingCapacity()
getIncomingCapacity in interface Sessionpublic void setIncomingCapacity(int capacity)
setIncomingCapacity in interface Sessionpublic int getIncomingBytes()
getIncomingBytes in interface Sessionpublic int getOutgoingBytes()
getOutgoingBytes in interface Sessionpublic void setOutgoingWindow(long outgoingWindow)
SessionsetOutgoingWindow in interface SessionoutgoingWindow - the outgoing window sizepublic long getOutgoingWindow()
getOutgoingWindow in interface SessionCopyright © 2016 The Apache Software Foundation. All Rights Reserved.