10.40.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.

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/html or locally at %SP_PATH%/doc/html (where SP_PATH is the path to your SICStus Prolog installation directory).


Send feedback on this subject.