Go to the first, previous, next, last section, table of contents.


Low-level Prolog to Java socket connection

Author(s): Jesús Correas.

Version: 1.11#222 (2004/5/24, 13:8:7 CEST)

Version of last change: 1.9#66 (2003/3/14, 12:48:24 CET)

This module defines a low-level socket interface, to be used by javart and jtopl. Includes all the code related directly to the handling of sockets. This library should not be used by any user program, because is a very low-level connection to Java. Use javart (Prolog to Java interface) or jtopl (Java to Prolog interface) libraries instead.

Usage and interface (javasock)

Documentation on exports (javasock)

PREDICATE: bind_socket_interface/1:

Usage: bind_socket_interface(Port)

PREDICATE: start_socket_interface/2:

Usage: start_socket_interface(Address, Stream)

PREDICATE: stop_socket_interface/0:

Usage:

PREDICATE: join_socket_interface/0:

Usage:

PREDICATE: java_query/2:

The predicate is of type concurrent.

Usage: java_query(ThreadId, Query)

PREDICATE: java_response/2:

The predicate is of type concurrent.

Usage: java_response(Id, Response)

PREDICATE: prolog_query/2:

The predicate is of type concurrent.

Usage: prolog_query(Id, Query)

PREDICATE: prolog_response/2:

The predicate is of type concurrent.

Usage: prolog_response(Id, Response)

PREDICATE: is_connected_to_java/0:

Usage:

PREDICATE: java_debug/1:

No further documentation available for this predicate.

PREDICATE: java_debug_redo/1:

No further documentation available for this predicate.

PREDICATE: start_threads/0:

Usage:


Go to the first, previous, next, last section, table of contents.