public class TweetyServer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_URI |
private static java.lang.String |
LOG |
Constructor and Description |
---|
TweetyServer() |
Modifier and Type | Method and Description |
---|---|
static void |
log(java.lang.String source,
java.lang.String message)
Writes the given message to the log of this server.
|
static void |
main(java.lang.String[] args)
Main server method.
|
public static final java.lang.String BASE_URI
private static final java.lang.String LOG
public static void main(java.lang.String[] args) throws java.io.IOException, java.lang.InterruptedException
args
- additional arguments (none expected)java.io.IOException
java.lang.InterruptedException
public static void log(java.lang.String source, java.lang.String message)
source
- the source of the message (should be some identifier of the service)message
- some message