Class TweetyServer

java.lang.Object
org.tweetyproject.web.TweetyServer

public class TweetyServer extends Object
Uses the Grizzly HTTP server to instantiate the TweetyProject server that provides API access to TweetyProject services.
  • Field Details

  • Constructor Details

    • TweetyServer

      public TweetyServer()
  • Method Details

    • main

      public static void main(String[] args) throws IOException, InterruptedException
      Main server method.
      Parameters:
      args - additional arguments (none expected)
      Throws:
      IOException - if an IO issue occurs.
      InterruptedException - if some interruption occurs.
    • log

      public static void log(String source, String message)
      Writes the given message to the log of this server.
      Parameters:
      source - the source of the message (should be some identifier of the service)
      message - some message