2017-12-13 15:23:50 +00:00
|
|
|
import { Caps } from './Caps';
|
|
|
|
|
import * as request from 'request';
|
|
|
|
|
import { ClientEvents } from './ClientEvents';
|
2017-12-15 19:13:45 +00:00
|
|
|
import { Agent } from './Agent';
|
2017-12-13 15:23:50 +00:00
|
|
|
export declare class EventQueueClient {
|
|
|
|
|
caps: Caps;
|
|
|
|
|
ack?: number;
|
|
|
|
|
done: boolean;
|
|
|
|
|
currentRequest: request.Request | null;
|
|
|
|
|
private clientEvents;
|
2017-12-15 19:13:45 +00:00
|
|
|
private agent;
|
|
|
|
|
constructor(agent: Agent, caps: Caps, clientEvents: ClientEvents);
|
2017-12-13 15:23:50 +00:00
|
|
|
shutdown(): void;
|
|
|
|
|
Get(): void;
|
|
|
|
|
request(url: string, data: string, contentType: string): Promise<string>;
|
|
|
|
|
capsRequestXML(capability: string, data: any): Promise<any>;
|
|
|
|
|
}
|