org.sourceforge.jemm.server
Class ShutdownRequestSender

java.lang.Object
  extended by org.sourceforge.jemm.server.ShutdownRequestSender

public final class ShutdownRequestSender
extends java.lang.Object

Helper class to send shutdown requests to the JemmServer.

Author:
Rory Graves

Method Summary
static void sendRequest(ClientConnectionFactory connectionFactory)
           
static void sendRequest(java.lang.String hostname, int port)
          Send a shutdown request to the given host/port
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sendRequest

public static void sendRequest(ClientConnectionFactory connectionFactory)

sendRequest

public static void sendRequest(java.lang.String hostname,
                               int port)
Send a shutdown request to the given host/port

Parameters:
hostname - The target host
port - The target port


Copyright © 2009. All Rights Reserved.