Exemple #1
0
 protected BaseHttpProtocolHandler(HttpTransport transport)
 {
     fTransport = transport;
 }
 /// <summary>
 /// Creates an instance of an AdkHttpApplicationServer
 /// </summary>
 /// <param name="transport">The Http transport</param>
 public AdkHttpApplicationServer( HttpTransport transport )
 {
     fTransport = transport;
 }
 /// <summary>  Clone this HttpTransport.
 /// 
 /// Cloning a transport results in a new HttpTransport instance with
 /// HttpProperties that inherit from this object's properties. However, the
 ///  web server owned by this transport will be shared with the cloned
 /// instance.
 /// </summary>
 public ITransport CloneTransport()
 {
     HttpProperties props;
     if ( fProps is HttpsProperties )
     {
         props = new HttpsProperties( (HttpsProperties) fProps.Parent );
     }
     else
     {
         props = new HttpProperties( (HttpProperties) fProps.Parent );
     }
     //  This object and the clone share the  server
     HttpTransport t = new HttpTransport( props, sServer );
     return t;
 }
 protected BaseHttpProtocolHandler(HttpTransport transport)
 {
     fTransport = transport;
 }
 public HttpPullProtocolHandler(HttpTransport transport) : base(transport)
 {
 }
 internal AdkHttpPushProtocolHandler( AdkHttpApplicationServer server, HttpTransport transport )
     : base(transport)
 {
     fServer = server;
 }
 public HttpPullProtocolHandler( HttpTransport transport )
     : base(transport)
 {
 }