se.sics.jasper
Class JavaServer

java.lang.Object
  extended by java.lang.Thread
      extended by se.sics.jasper.JavaServer
All Implemented Interfaces:
java.lang.Runnable

Deprecated. Only intended as an example Java server thread. Opens a server-socket and accepts connections for calling Java methods, according to the Jasper protocol.

public class JavaServer
extends java.lang.Thread

This code is unsupported and unfinished. It is provided "as is" for demontration purposes only. The supported interface between Java and SICStus is the SICStus class and related classes.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JavaServer(PrologEngine engine)
          Deprecated.  
 
Method Summary
static void main(java.lang.String[] argv)
          Deprecated.  
 void run()
          Deprecated.  
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaServer

public JavaServer(PrologEngine engine)
           throws java.io.IOException,
                  PrologException,
                  java.net.SocketException
Deprecated. 
Throws:
java.io.IOException
PrologException
java.net.SocketException
Method Detail

main

public static void main(java.lang.String[] argv)
Deprecated. 

run

public void run()
Deprecated. 
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread