Interface ClientSessionRawSubscriptionService
interface ClientSessionRawSubscriptionService { createMonitoredItems(options: CreateMonitoredItemsRequestOptions,
callback: ResponseCallback<CreateMonitoredItemsResponse>): void; createMonitoredItems(options: CreateMonitoredItemsRequestOptions): Promise<CreateMonitoredItemsResponse>; createSubscription(options: CreateSubscriptionRequestOptions,
callback: ResponseCallback<CreateSubscriptionResponse>): void; createSubscription(options: CreateSubscriptionRequestOptions): Promise<CreateSubscriptionResponse>; deleteMonitoredItems(request: DeleteMonitoredItemsRequestOptions,
callback: Callback<DeleteMonitoredItemsResponse>): void; deleteMonitoredItems(request: DeleteMonitoredItemsRequestOptions): Promise<DeleteMonitoredItemsResponse>; deleteSubscriptions(options: DeleteSubscriptionsRequestOptions,
callback?: ResponseCallback<DeleteSubscriptionsResponse>): void; deleteSubscriptions(options: DeleteSubscriptionsRequestOptions): Promise<DeleteSubscriptionsResponse>; getMonitoredItems(subscriptionId: number): Promise<MonitoredItemData>; getMonitoredItems(subscriptionId: number,
callback: ResponseCallback<MonitoredItemData>): void; modifyMonitoredItems(options: ModifyMonitoredItemsRequestOptions,
callback?: ResponseCallback<ModifyMonitoredItemsResponse>): void; modifyMonitoredItems(options: ModifyMonitoredItemsRequestOptions): Promise<ModifyMonitoredItemsResponse>; modifySubscription(options: ModifySubscriptionRequestOptions,
callback: ResponseCallback<ModifySubscriptionResponse>): void; modifySubscription(options: ModifySubscriptionRequestOptions): Promise<ModifySubscriptionResponse>; setMonitoringMode(options: SetMonitoringModeRequestOptions,
callback: ResponseCallback<SetMonitoringModeResponse>): void; setMonitoringMode(options: SetMonitoringModeRequestOptions): Promise<SetMonitoringModeResponse>; setTriggering(request: SetTriggeringRequestOptions): Promise<SetTriggeringResponse>; setTriggering(request: SetTriggeringRequestOptions,
callback: ResponseCallback<SetTriggeringResponse>): void; transferSubscriptions(options: TransferSubscriptionsRequestOptions,
callback?: ResponseCallback<TransferSubscriptionsResponse>): void; transferSubscriptions(options: TransferSubscriptionsRequestOptions): Promise<TransferSubscriptionsResponse>; } Methods
getMonitoredItems
- getMonitoredItems(subscriptionId): Promise<MonitoredItemData>
- getMonitoredItems(subscriptionId, callback): void
Returns void
Example