Class SaslChallengeFrame

  • All Implemented Interfaces:
    SaslFrameIF, FrameIF, Writable

    public class SaslChallengeFrame
    extends AMQPFrame
    implements SaslFrameIF

    Send the SASL challenge data as defined by the SASL specification.

    Version:
    AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
    Author:
    IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
    • Constructor Detail

      • SaslChallengeFrame

        public SaslChallengeFrame​(int channel,
                                  AMQPList body)
                           throws java.lang.Exception
        Constructs a SaslChallengeFrame.
        Parameters:
        channel - the channel id
        body - the frame body
        Throws:
        java.lang.Exception
      • SaslChallengeFrame

        public SaslChallengeFrame​(int channel)
        Constructs a SaslChallengeFrame.
        Parameters:
        channel - the channel id
    • Method Detail

      • getChallenge

        public AMQPBinary getChallenge()
        Returns the mandatory Challenge field.
        Returns:
        Challenge
      • setChallenge

        public void setChallenge​(AMQPBinary challenge)
        Sets the mandatory Challenge field.

        Challenge information, a block of opaque binary data passed to the security mechanism.

        Parameters:
        challenge - Challenge
      • writeBody

        protected void writeBody​(java.io.DataOutput out)
                          throws java.io.IOException
        Specified by:
        writeBody in class AMQPFrame
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class AMQPFrame