at.ac.tuwien.infosys.rnue.helpers
Class StopShareMe

java.lang.Object
  |
  +--at.ac.tuwien.infosys.rnue.helpers.StopShareMe
All Implemented Interfaces:
IConstants

public class StopShareMe
extends java.lang.Object
implements IConstants

Helper to shutdown a ShareMe peer. Use the program with the following parameters:
java at.ac.tuwien.infosys.rnue.helpers.StopShareMe -p {port} [-h {host}]
If no host is given the localhost will be used. You will get a prompt to enter the shutdown-password (defined in the property file of your ShareMe peer).


Field Summary
 
Fields inherited from interface at.ac.tuwien.infosys.rnue.interfaces.IConstants
CGIBIN_PREFIX, DOC_PREFIX, DOCUMENT_BASE, DOWNLOAD_PREFIX, DSG_CA_NAME, EXIT_FLAG, FILE_BASE, GC_INTERVAL, HTTP_SERVER_PORT, HTTP_SERVER_TIMEOUT, HUMAN_READABLE_NAME, IS_ALIVE_INTERVAL, IS_ALIVE_RECEIVER_TIMEOUT, KEY_LENGTH, KEYFILE_NAME, LIFETIME_OF_HOSTINFOS, MAX_ISALIVE_PACKET_LENGTH, MAX_UDP_PACKET_LENGTH, MULTICAST_ADDRESS, MULTICAST_PORT, ORB_HOST, ORB_PORT, RMI_REGISTRY_HOST, RMI_REGISTRY_PORT, RMI_SERVICE_NAME, SHAREME_CGI, SHAREME_PARAMNAME, SHUTDOWN_PASSWORD, SHUTDOWN_PORT
 
Constructor Summary
StopShareMe(java.lang.String address, int port, java.lang.String password)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopShareMe

public StopShareMe(java.lang.String address,
                   int port,
                   java.lang.String password)
Method Detail

main

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

stop

public void stop()
          throws ShareMeException
ShareMeException