ProtonJSession

Extends {@link Session} with functionality that is specific to proton-j

interface ProtonJSession : Session , ProtonJEndpoint {}

Members

Functions

sender
Sender sender(string name)
Undocumented in source.

Inherited Members

From Session

sender
Sender sender(string name)

Returns a newly created sender endpoint

receiver
Receiver receiver(string name)

Returns a newly created receiver endpoint

next
Session next(Set!EndpointState local, Set!EndpointState remote)
Undocumented in source.
getConnection
Connection getConnection()
Undocumented in source.
getIncomingCapacity
int getIncomingCapacity()
Undocumented in source.
setIncomingCapacity
void setIncomingCapacity(int bytes)
Undocumented in source.
getIncomingBytes
int getIncomingBytes()
Undocumented in source.
getOutgoingBytes
int getOutgoingBytes()
Undocumented in source.
getOutgoingWindow
long getOutgoingWindow()
Undocumented in source.
setOutgoingWindow
void setOutgoingWindow(long outgoingWindowSize)

Sets the outgoing window size.

setProperties
void setProperties(Map!(Symbol, Object) properties)

Sets the local session properties, to be conveyed to the peer via the Begin frame when attaching the session to the session.

getProperties
Map!(Symbol, Object) getProperties()

Gets the local session properties.

getRemoteProperties
Map!(Symbol, Object) getRemoteProperties()

Gets the remote session properties, as conveyed from the peer via the Begin frame when opening the session.

setOfferedCapabilities
void setOfferedCapabilities(Symbol[] offeredCapabilities)

Sets the local session offered capabilities, to be conveyed to the peer via the Begin frame when opening the session.

getOfferedCapabilities
Symbol[] getOfferedCapabilities()

Gets the local session offered capabilities.

getRemoteOfferedCapabilities
Symbol[] getRemoteOfferedCapabilities()

Gets the remote session offered capabilities, as conveyed from the peer via the Begin frame when opening the session.

setDesiredCapabilities
void setDesiredCapabilities(Symbol[] desiredCapabilities)

Sets the local session desired capabilities, to be conveyed to the peer via the Begin frame when opening the session.

getDesiredCapabilities
Symbol[] getDesiredCapabilities()

Gets the local session desired capabilities.

getRemoteDesiredCapabilities
Symbol[] getRemoteDesiredCapabilities()

Gets the remote session desired capabilities, as conveyed from the peer via the Begin frame when opening the session.

Meta