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
createMonitoredItems
- createMonitoredItems(options, callback): void
Returns void
- createMonitoredItems(options): Promise<CreateMonitoredItemsResponse>
createSubscription
- createSubscription(options, callback): void
Returns void
- createSubscription(options): Promise<CreateSubscriptionResponse>
deleteMonitoredItems
- deleteMonitoredItems(request, callback): void
Returns void
- deleteMonitoredItems(request): Promise<DeleteMonitoredItemsResponse>
deleteSubscriptions
- deleteSubscriptions(options, callback?): void
Returns void
- deleteSubscriptions(options): Promise<DeleteSubscriptionsResponse>
getMonitoredItems
- getMonitoredItems(subscriptionId): Promise<MonitoredItemData>
- getMonitoredItems(subscriptionId, callback): void
Returns void
modifyMonitoredItems
- modifyMonitoredItems(options, callback?): void
Returns void
- modifyMonitoredItems(options): Promise<ModifyMonitoredItemsResponse>
modifySubscription
- modifySubscription(options, callback): void
Returns void
- modifySubscription(options): Promise<ModifySubscriptionResponse>
setMonitoringMode
- setMonitoringMode(options, callback): void
Returns void
- setMonitoringMode(options): Promise<SetMonitoringModeResponse>
setTriggering
- setTriggering(request): Promise<SetTriggeringResponse>
- setTriggering(request, callback): void
Returns void
transferSubscriptions
- transferSubscriptions(options, callback?): void
Returns void
- transferSubscriptions(options): Promise<TransferSubscriptionsResponse>
Example