44.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; Term, 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.

Detailed documentation on the .NET APIs of PrologBeans is available in the PrologBeans.NET documentation files in the directory http://www.sics.se/sicstus/docs or locally at %SP_PATH%/doc/html/prologbeans.NET (where SP_PATH is the path to your SICStus Prolog installation directory).