Next: , Previous: , Up: lib-prologbeans   [Contents][Index]

10.36.7 .NET Client Interface

The class PrologSession in the .NET interface represents a connection to a Prolog server. PrologSession contains methods for establishing a connection and querying the Prolog server. Other important classes are: QueryAnswer, which contains the answer for a query sent to the Prolog server; PBTerm, which represents a Prolog term; and Bindings, which supports stuffing of variable values used in queries.

The PrologSession object is the connection to the Prolog server. The constructor PrologSession() creates a PrologSession with the default settings (host = localhost, port = 8066.

The interface is almost exactly as the Java version. See the C# source code (library/prologbeans.NET/*.cs) or the JavaDoc, for details.

Send feedback on this subject.