/// <summary> /// Processes the request. /// </summary> /// <param name="session">The session.</param> /// <param name="data">The data.</param> protected override void ProcessRequest(PolicySession session, byte[] data) { base.ProcessRequest(session, data); session.Close(); }
//void PolicyServer_NewRequestReceived(PolicySession session, BinaryRequestInfo requestInfo) //{ // ProcessRequest(session, requestInfo.Body); //} /// <summary> /// Processes the request. /// </summary> /// <param name="session">The session.</param> /// <param name="data">The data.</param> protected virtual void ProcessRequest(PolicySession session, byte[] data) { }
/// <summary> /// Processes the request. /// </summary> /// <param name="session">The session.</param> /// <param name="request">The request.</param> protected override void ProcessRequest(PolicySession session, string request) { base.ProcessRequest(session, request); session.Close(); }