C# Class Amqp.WebSocketTransport

The WebSocketTransport class allows applications to send and receive AMQP traffic using the AMQP-WebSockets binding protocol.
Inheritance: IAsyncTransport
Datei anzeigen Open project: xamarin/mini-hacks Class Usage Examples

Public Methods

Method Description
ConnectAsync ( Address address ) : Task
IAsyncTransport ( Connection connection ) : void
ITransport ( ) : void
ITransport ( ByteBuffer buffer ) : void
MatchScheme ( string scheme ) : bool
WebSocketTransport ( ) : System
WebSocketTransport ( WebSocket webSocket ) : System

Private Methods

Method Description
GetDefaultPort ( string scheme, int port ) : int
IAsyncTransport ( byte buffer, int offset, int count ) : Task
IAsyncTransport ( ByteBuffer buffer, IList bufferList, int listSize ) : bool
ITransport ( byte buffer, int offset, int count ) : int
WriteAsync ( ByteBuffer buffer ) : Task

Method Details

ConnectAsync() public method

public ConnectAsync ( Address address ) : Task
address Address
return Task

IAsyncTransport() public method

public IAsyncTransport ( Connection connection ) : void
connection Connection
return void

ITransport() public method

public ITransport ( ) : void
return void

ITransport() public method

public ITransport ( ByteBuffer buffer ) : void
buffer ByteBuffer
return void

MatchScheme() public static method

public static MatchScheme ( string scheme ) : bool
scheme string
return bool

WebSocketTransport() public method

public WebSocketTransport ( ) : System
return System

WebSocketTransport() public method

public WebSocketTransport ( WebSocket webSocket ) : System
webSocket System.Net.WebSockets.WebSocket
return System