public IServiceResponse CloseSession(IServiceRequest incoming)
{
CloseSessionResponse response = null;
try
{
OnRequestReceived(incoming);
CloseSessionRequest request = (CloseSessionRequest)incoming;
response = new CloseSessionResponse();
response.ResponseHeader = ServerInstance.CloseSession(
request.RequestHeader,
request.DeleteSubscriptions);
}
finally
{
OnResponseSent(response);
}
return response;
}