module AliMNS { export interface IMNS { listP ( prefix ? , pageSize ? , pageMarker ? ) ; createP ( name , options ? ) ; deleteP ( name ) ; } export interface IMNSTopic extends IMNS { listTopicP ( prefix ? , pageSize ? , pageMarker ? ) ; createTopicP ( name , options ? ) ; deleteTopicP ( name ) ; } export interface IMQ { getAttrsP ( ) ; setAttrsP ( options ) ; sendP ( msg , priority ? , delaySeconds ? ) ; recvP ( waitSeconds ? ) ; peekP ( ) ; deleteP ( receiptHandle ) ; reserveP ( receiptHandle , reserveSeconds ) ; } export interface IMQBatch extends IMQ { sendP ( msg , priority ? , delaySeconds ? ) ; recvP ( waitSeconds ? , numOfMessages ? ) ; peekP ( numOfMessages ? ) ; deleteP ( receiptHandle ) ; } export interface INotifyRecv { notifyRecv ( cb , waitSeconds ? ) ; notifyStopP ( ) ; } export interface INotifyRecvBatch extends INotifyRecv { notifyRecv ( cb , waitSeconds ? , numOfMessages ? ) ; } export interface ITopic { getAttrsP ( ) ; setAttrsP ( options ) ; listP ( prefix ? , pageSize ? , pageMarker ? ) ; subscribeP ( name , endPoint , notifyStrategy ? , notifyContentFormat ? ) ; unsubscribeP ( name ) ; publishP ( msg , b64 ) ; } export interface ISubscription { getAttrsP ( ) ; setAttrsP ( options ) ; } export interface ITopicNotify { notifyP ( request ) ; } }