Class SessionImpl

    • Method Detail

      • receiver

        public ReceiverImpl receiver​(java.lang.String name)
        Description copied from interface: Session
        Returns a newly created receiver endpoint
        Specified by:
        receiver in interface Session
      • setIncomingCapacity

        public void setIncomingCapacity​(int capacity)
        Specified by:
        setIncomingCapacity in interface Session
      • setOutgoingWindow

        public void setOutgoingWindow​(long outgoingWindow)
        Description copied from interface: Session
        Sets the outgoing window size.
        Specified by:
        setOutgoingWindow in interface Session
        Parameters:
        outgoingWindow - the outgoing window size
      • getProperties

        public java.util.Map<Symbol,​java.lang.Object> getProperties()
        Description copied from interface: Session
        Gets the local session properties.
        Specified by:
        getProperties in interface Session
        Returns:
        the properties map, or null if none was set.
        See Also:
        Session.setProperties(Map)
      • setProperties

        public void setProperties​(java.util.Map<Symbol,​java.lang.Object> properties)
        Description copied from interface: Session
        Sets the local session properties, to be conveyed to the peer via the Begin frame when attaching the session to the session. Must be called during session setup, i.e. before calling the Endpoint.open() method.
        Specified by:
        setProperties in interface Session
        Parameters:
        properties - the properties map to send, or null for none.
      • getRemoteProperties

        public java.util.Map<Symbol,​java.lang.Object> getRemoteProperties()
        Description copied from interface: Session
        Gets the remote session properties, as conveyed from the peer via the Begin frame when opening the session.
        Specified by:
        getRemoteProperties in interface Session
        Returns:
        the properties Map conveyed by the peer, or null if there was none.
      • setDesiredCapabilities

        public void setDesiredCapabilities​(Symbol[] desiredCapabilities)
        Description copied from interface: Session
        Sets the local session desired capabilities, to be conveyed to the peer via the Begin frame when opening the session. Must be called during session setup, i.e. before calling the Endpoint.open() method.
        Specified by:
        setDesiredCapabilities in interface Session
        Parameters:
        desiredCapabilities - the desired capabilities array to send, or null for none.
      • getRemoteDesiredCapabilities

        public Symbol[] getRemoteDesiredCapabilities()
        Description copied from interface: Session
        Gets the remote session desired capabilities, as conveyed from the peer via the Begin frame when opening the session.
        Specified by:
        getRemoteDesiredCapabilities in interface Session
        Returns:
        the desired capabilities array conveyed by the peer, or null if there was none.
      • setOfferedCapabilities

        public void setOfferedCapabilities​(Symbol[] offeredCapabilities)
        Description copied from interface: Session
        Sets the local session offered capabilities, to be conveyed to the peer via the Begin frame when opening the session. Must be called during session setup, i.e. before calling the Endpoint.open() method.
        Specified by:
        setOfferedCapabilities in interface Session
        Parameters:
        offeredCapabilities - the offered capabilities array to send, or null for none.
      • getRemoteOfferedCapabilities

        public Symbol[] getRemoteOfferedCapabilities()
        Description copied from interface: Session
        Gets the remote session offered capabilities, as conveyed from the peer via the Begin frame when opening the session.
        Specified by:
        getRemoteOfferedCapabilities in interface Session
        Returns:
        the offered capabilities array conveyed by the peer, or null if there was none.