Node:PB .NET Client Interface, Next:, Previous:PB Java Examples, Up:PrologBeans

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