org
.
scalajs
.
nodejs
.
amqplib
AmqpChannel
Related Docs:
object AmqpChannel
|
package amqplib
trait
AmqpChannel
extends
Object
with
EventEmitter
Annotations
@RawJSType
()
@native
()
Linear Supertypes
EventEmitter
,
Object
,
Any
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
AmqpChannel
EventEmitter
Object
Any
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
EventEmitter
:
Function0
[
EventEmitter
]
Definition Classes
EventEmitter
def
ack
(
message:
AmqpMessage
,
callback:
Function
)
:
Unit
def
ack
(
message:
AmqpMessage
)
:
Promise
[
Boolean
]
def
ackAll
()
:
Promise
[
Boolean
]
def
addListener
(
eventName:
String
,
listener:
Function
)
:
AmqpChannel
.this.type
Definition Classes
EventEmitter
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
assertExchange
(
exchange:
String
,
callback:
Function
)
:
Unit
def
assertExchange
(
exchange:
String
,
options:
ExchangeOptions
,
callback:
Function
)
:
Unit
def
assertExchange
(
exchange:
String
,
options:
ExchangeOptions
=
null
)
:
Promise
[
Boolean
]
def
assertQueue
(
queue:
String
,
callback:
Function
)
:
Unit
def
assertQueue
(
queue:
String
,
options:
QueueOptions
,
callback:
Function
)
:
Unit
def
assertQueue
(
queue:
String
,
options:
QueueOptions
=
null
)
:
Promise
[
Boolean
]
def
bindExchange
(
exchange:
String
,
source:
String
,
pattern:
String
,
callback:
Function
)
:
Unit
def
bindExchange
(
exchange:
String
,
source:
String
,
pattern:
String
,
args:
Any
,
callback:
Function
)
:
Unit
def
bindExchange
(
exchange:
String
,
source:
String
,
pattern:
String
,
args:
Any
=
null
)
:
Promise
[
Boolean
]
def
bindQueue
(
queue:
String
,
source:
String
,
pattern:
String
,
callback:
Function
)
:
Unit
def
bindQueue
(
queue:
String
,
source:
String
,
pattern:
String
,
args:
Any
,
callback:
Function
)
:
Unit
def
bindQueue
(
queue:
String
,
source:
String
,
pattern:
String
,
args:
Any
=
null
)
:
Promise
[
Boolean
]
def
cancel
(
consumerTag:
String
,
callback:
Function
)
:
Unit
def
cancel
(
consumerTag:
String
)
:
Promise
[
Boolean
]
def
checkExchange
(
exchange:
String
,
callback:
Function
)
:
Unit
def
checkExchange
(
exchange:
String
)
:
Promise
[
Boolean
]
def
checkQueue
(
queue:
String
,
callback:
Function
)
:
Unit
def
checkQueue
(
queue:
String
)
:
Promise
[
Boolean
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
(
callback:
Function
)
:
Unit
def
close
()
:
Promise
[
Error
]
def
consume
(
queue:
String
,
consumption:
Function
,
callback:
Function
)
:
Unit
def
consume
(
queue:
String
,
consumption:
Function
,
callback:
Function
,
options:
Any
)
:
Unit
def
consume
(
queue:
String
,
consumption:
Function
,
options:
Any
=
null
)
:
Promise
[
Boolean
]
var
defaultMaxListeners
:
Int
Definition Classes
EventEmitter
def
deleteExchange
(
name:
String
,
callback:
Function
)
:
Unit
def
deleteExchange
(
name:
String
,
options:
Any
,
callback:
Function
)
:
Unit
def
deleteExchange
(
name:
String
,
options:
Any
=
null
)
:
Promise
[
Boolean
]
def
deleteQueue
(
queue:
String
,
callback:
Function
)
:
Unit
def
deleteQueue
(
queue:
String
,
options:
QueueOptions
,
callback:
Function
)
:
Unit
def
deleteQueue
(
queue:
String
,
options:
QueueOptions
=
null
)
:
Promise
[
Boolean
]
var
domain
:
String
Definition Classes
EventEmitter
def
emit
(
eventName:
String
,
arg:
Any
*
)
:
Boolean
Definition Classes
EventEmitter
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
get
(
queue:
String
,
callback:
Function
)
:
Unit
def
get
(
queue:
String
,
options:
NoAckOptions
,
callback:
Function
)
:
Unit
def
get
(
queue:
String
,
options:
NoAckOptions
=
null
)
:
Promise
[
Any
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getMaxListeners
()
:
Int
Definition Classes
EventEmitter
def
hasOwnProperty
(
v:
String
)
:
Boolean
Definition Classes
Object
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isPrototypeOf
(
v:
Object
)
:
Boolean
Definition Classes
Object
def
listenerCount
(
eventName:
String
)
:
Int
Definition Classes
EventEmitter
def
listeners
(
eventName:
String
)
:
Array
[
Function
]
Definition Classes
EventEmitter
def
nack
(
message:
AmqpMessage
,
allUpTo:
Boolean
=
false
,
requeue:
Boolean
=
false
)
:
Promise
[
Any
]
def
nackAll
(
requeue:
Boolean
=
false
)
:
Promise
[
Any
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
on
(
eventName:
String
,
listener:
Function
)
:
AmqpChannel
.this.type
Definition Classes
EventEmitter
def
once
(
eventName:
String
,
listener:
Function
)
:
AmqpChannel
.this.type
Definition Classes
EventEmitter
def
prefetch
(
count:
Int
,
global:
Boolean
=
false
)
:
Promise
[
Any
]
def
propertyIsEnumerable
(
v:
String
)
:
Boolean
Definition Classes
Object
def
publish
(
exchange:
String
,
routingKey:
String
,
content:
String
,
options:
Any
=
null
)
:
Promise
[
Boolean
]
def
purgeQueue
(
queue:
String
,
callback:
Function
)
:
Unit
def
purgeQueue
(
queue:
String
)
:
Promise
[
Boolean
]
def
recover
(
callback:
Function
)
:
Unit
def
reject
(
message:
AmqpMessage
,
requeue:
Boolean
=
false
)
:
Promise
[
Any
]
def
removeAllListeners
()
:
AmqpChannel
.this.type
Definition Classes
EventEmitter
def
removeAllListeners
(
eventName:
String
)
:
AmqpChannel
.this.type
Definition Classes
EventEmitter
def
removeListener
(
eventName:
String
,
listener:
Function
)
:
AmqpChannel
.this.type
Definition Classes
EventEmitter
def
sendToQueue
(
queue:
String
,
content:
Buffer
,
options:
Any
=
null
)
:
Promise
[
Boolean
]
def
setMaxListeners
(
n:
Int
)
:
AmqpChannel
.this.type
Definition Classes
EventEmitter
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toLocaleString
()
:
String
Definition Classes
Object
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unbindExchange
(
exchange:
String
,
source:
String
,
pattern:
String
,
callback:
Function
)
:
Unit
def
unbindExchange
(
exchange:
String
,
source:
String
,
pattern:
String
,
args:
Any
,
callback:
Function
)
:
Unit
def
unbindExchange
(
exchange:
String
,
source:
String
,
pattern:
String
,
args:
Any
=
null
)
:
Promise
[
Boolean
]
def
unbindQueue
(
queue:
String
,
source:
String
,
pattern:
String
,
callback:
Function
)
:
Unit
def
unbindQueue
(
queue:
String
,
source:
String
,
pattern:
String
,
args:
Any
,
callback:
Function
)
:
Unit
def
unbindQueue
(
queue:
String
,
source:
String
,
pattern:
String
,
args:
Any
=
null
)
:
Promise
[
Boolean
]
var
usingDomains
:
Boolean
Definition Classes
EventEmitter
def
valueOf
()
:
Any
Definition Classes
Object
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Deprecated Value Members
def
listenerCount
(
emitter:
Any
,
eventName:
String
)
:
Unit
Definition Classes
EventEmitter
Annotations
@deprecated
Deprecated
(Since version 4.x)
Use listenerCount() instead
Inherited from
EventEmitter
Inherited from
Object
Inherited from
Any
Inherited from
AnyRef
Inherited from
Any
Ungrouped