HangingServiceRequestBase constructor
HangingServiceRequestBase(
- ExchangeService service,
- HandleResponseObject handler,
- int heartbeatFrequency
Implementation
// todo : restore events
// event HangingRequestDisconnectHandler OnDisconnect;
/// <summary>
/// Initializes a new instance of the <see cref="HangingServiceRequestBase"/> class.
/// </summary>
/// <param name="service">The service.</param>
/// <param name="handler">Callback delegate to handle response objects</param>
/// <param name="heartbeatFrequency">Frequency at which we expect heartbeats, in milliseconds.</param>
HangingServiceRequestBase(ExchangeService service,
HandleResponseObject handler, int heartbeatFrequency)
: super(service) {
this._responseHandler = handler;
this.heartbeatFrequencyMilliseconds = heartbeatFrequency;
}