The HttpENEConnection class functions as a repository for the hostname and port configuration for the MDEX Engine that you want to query.

The signature for an HttpENEConnection constructor looks like this:

//Create an ENEConnection 
ENEConnection nec = new HttpENEConnection(eneHost, enePort);

HttpENEConnection is one of two implementations of the ENEConnection interface for Java and IENEConnection for .NET. This interface defines a query() method in Java, and a Query() method in .NET for all implementing classes.

In Java, you call the query() method on an ENEConnection object to establish a connection with an MDEX Engine and send it a query.

In .NET, you call the Query() method on an HttpENEConnection object to establish a connection with an MDEX Engine and send it a query.


Copyright © Legal Notices