jas.net
Class InformationServer

java.lang.Object
  extended by jas.net.InformationServer

public class InformationServer
extends java.lang.Object


Field Summary
static int DEFAULT_SERVER_PORT
           
static java.lang.String RECEIVE_METHOD
           
static java.lang.String SERVICE_NAME
           
 
Constructor Summary
InformationServer()
           
InformationServer(int tcpPort)
           
InformationServer(int tcpPort, java.lang.String clientUrl, java.lang.String clientName)
           
InformationServer(java.lang.String clientUrl, java.lang.String clientName)
           
 
Method Summary
 void addInfo(java.lang.String id, java.lang.String text)
           
 void addInfo(java.lang.String userId, java.lang.String id, java.lang.String text)
           
 java.lang.String getInfo(java.lang.String id)
           
 java.lang.String getInfo(java.lang.String userId, java.lang.String id)
           
 void installClient(java.lang.String url, java.lang.String name)
           
 int jReceive(java.lang.String id, java.lang.String testo)
           
 int jReceive(java.lang.String userId, java.lang.String id, java.lang.String testo)
           
 java.lang.String jSend(java.lang.String userId, java.lang.String id)
           
 java.lang.String receiveInfo(java.lang.String userId, java.lang.String id)
           
 void shutdownServer()
           
 void uninstallClient()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SERVER_PORT

public static final int DEFAULT_SERVER_PORT
See Also:
Constant Field Values

RECEIVE_METHOD

public static final java.lang.String RECEIVE_METHOD
See Also:
Constant Field Values

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values
Constructor Detail

InformationServer

public InformationServer()

InformationServer

public InformationServer(int tcpPort)

InformationServer

public InformationServer(int tcpPort,
                         java.lang.String clientUrl,
                         java.lang.String clientName)

InformationServer

public InformationServer(java.lang.String clientUrl,
                         java.lang.String clientName)
Method Detail

addInfo

public void addInfo(java.lang.String id,
                    java.lang.String text)

addInfo

public void addInfo(java.lang.String userId,
                    java.lang.String id,
                    java.lang.String text)

getInfo

public java.lang.String getInfo(java.lang.String id)

getInfo

public java.lang.String getInfo(java.lang.String userId,
                                java.lang.String id)

installClient

public void installClient(java.lang.String url,
                          java.lang.String name)

jReceive

public int jReceive(java.lang.String id,
                    java.lang.String testo)

jReceive

public int jReceive(java.lang.String userId,
                    java.lang.String id,
                    java.lang.String testo)

jSend

public java.lang.String jSend(java.lang.String userId,
                              java.lang.String id)

receiveInfo

public java.lang.String receiveInfo(java.lang.String userId,
                                    java.lang.String id)

shutdownServer

public void shutdownServer()

uninstallClient

public void uninstallClient()