C# Class Microsoft.Azure.Amqp.Sasl.SaslNegotiator

Inheritance: IIoHandler
显示文件 Open project: Azure/azure-amqp Class Usage Examples

Public Methods

Method Description
CompleteNegotiation ( SaslCode code, Exception exception ) : void
ReadFrame ( ) : void
SaslNegotiator ( SaslTransport transport, SaslTransportProvider provider, bool isInitiator ) : System
Start ( ) : bool
ToString ( ) : string
WriteFrame ( Performative command, bool needReply ) : void

Private Methods

Method Description
CompleteTransport ( ) : void
HandleException ( string action, Exception exception ) : void
HandleSaslCommand ( Performative command ) : void
IIoHandler ( System.ByteBuffer buffer ) : void
IIoHandler ( Exception exception ) : void
IIoHandler ( IoEvent ioEvent, long queueSize ) : void
OnSaslInit ( SaslInit init ) : void

Server receives the client init that may contain the initial response message.

OnSaslOutcome ( SaslOutcome outcome ) : void

Client receives the sasl outcome from the server.

OnSaslServerMechanisms ( SaslMechanisms mechanisms ) : void

Client receives the announced server mechanisms.

OnWriteFrameComplete ( TransportAsyncCallbackArgs args ) : void
SendServerMechanisms ( ) : void

Method Details

CompleteNegotiation() public method

public CompleteNegotiation ( SaslCode code, Exception exception ) : void
code SaslCode
exception System.Exception
return void

ReadFrame() public method

public ReadFrame ( ) : void
return void

SaslNegotiator() public method

public SaslNegotiator ( SaslTransport transport, SaslTransportProvider provider, bool isInitiator ) : System
transport SaslTransport
provider SaslTransportProvider
isInitiator bool
return System

Start() public method

public Start ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string

WriteFrame() public method

public WriteFrame ( Performative command, bool needReply ) : void
command Microsoft.Azure.Amqp.Framing.Performative
needReply bool
return void