C# Class pegasus.eventbus.rabbit.RabbitExchange

Inheritance: IExchange, IDisposable
显示文件 Open project: Berico-Technologies/Event-Bus

Protected Properties

Property Type Description
_channel IModel
_channelLock object
_conn IConnection

Public Methods

Method Description
Dispose ( ) : void
Equals ( IExchange other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Publish ( AmqpEnvelope env ) : void
Publish ( byte message, string routingKey ) : void
RabbitExchange ( string name, string hostname, string vHost ) : System
ToUri ( ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( IExchange other ) : bool
other IExchange
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Publish() public method

public Publish ( AmqpEnvelope env ) : void
env pegasus.eventbus.amqp.AmqpEnvelope
return void

Publish() public method

public Publish ( byte message, string routingKey ) : void
message byte
routingKey string
return void

RabbitExchange() public method

public RabbitExchange ( string name, string hostname, string vHost ) : System
name string
hostname string
vHost string
return System

ToUri() public method

public ToUri ( ) : string
return string

Property Details

_channel protected_oe property

protected IModel _channel
return IModel

_channelLock protected_oe property

protected object _channelLock
return object

_conn protected_oe property

protected IConnection _conn
return IConnection