Provides a connection to an Endeca MDEX Engine over HTTP. Also
provides a mechanism for issuing queries to the MDEX Engine.
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.3.0.0 (6.3.0.853)
Syntax
C# |
---|
[SerializableAttribute] public class HttpENEConnection : IENEConnection |
Visual Basic |
---|
<SerializableAttribute> _ Public Class HttpENEConnection _ Implements IENEConnection |
Visual C++ |
---|
[SerializableAttribute] public ref class HttpENEConnection : IENEConnection |
Remarks
The HttpENEConnection is currently the only implementation
of the IENEConnection interface.
This connection is a repository for hostname and port configuration parameters for HTTP connections to an Endeca MDEX Engine. The connection does not open a persistant connection to the MDEX Engine. The instantiation of this connection does not initiate an HTTP socket connection. Instead each issuance of the Query(ENEQuery) method opens a HTTP socket connection(s), makes the requests, and closes the connection(s).
Examples
An example usage of the HttpENEConnection in C# and ASP.NET:
CopyC#
IENEConnection nec = new HttpENEConnection("engine.endeca.com", 5001); ENEQuery usq = new UrlENEQuery(Page.Request.Url.Query); ENEQueryResults qr = nec.Query(usq);
Inheritance Hierarchy
System..::..Object
Endeca.Navigation..::..HttpENEConnection
Endeca.Navigation..::..AuthHttpENEConnection
Endeca.Navigation..::..HttpENEConnection
Endeca.Navigation..::..AuthHttpENEConnection