Home > @imqueue/rpc > IMQClient
IMQClient class
Class IMQClient - base abstract class for service clients.
Signature:
export declare abstract class IMQClient extends EventEmitter
Extends: EventEmitter
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Class constructor |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
string | ||
|
|
number | ||
|
|
string | ||
|
| |||
|
|
string | ||
|
|
string |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Broadcasts given payload to all other service clients subscribed. So this is like client-to-clients publishing. | ||
|
|
Creates client for a service with the given name | |
|
Returns service description metadata. | ||
|
Destroys client | ||
|
|
Sends call to remote service method | |
|
Initializes client work | ||
|
Stops client work | ||
|
Adds subscription to service event channel | ||
|
Destroys subscription channel to service {Promise |