org.jcsp.net.tcpip
Class TCPIPCNSServerNT

java.lang.Object
  extended by org.jcsp.win32.NTService
      extended by org.jcsp.net.tcpip.TCPIPCNSServerNT

public class TCPIPCNSServerNT
extends NTService

Wraps up the TCPIPCNSServer as a Windows NT service. To install the service, register the path java org.jcsp.net.tcpip.TCPIPCNSServerNT with the service name JCSP.NET:TCPIPCNSServer.

Author:
Quickstone Technologies Limited

Method Summary
static void main(String[] args)
          Creates a new service instance and sets it running.
protected  void startService()
          Starts the service by calling TCPIPCNSServer.main.
protected  void stopService()
          Stops the service.
 
Methods inherited from class org.jcsp.win32.NTService
run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startService

protected void startService()
Starts the service by calling TCPIPCNSServer.main.

Specified by:
startService in class NTService

stopService

protected void stopService()
Stops the service.

Specified by:
stopService in class NTService

main

public static void main(String[] args)
Creates a new service instance and sets it running.



Copyright © 1996-2012. All Rights Reserved.