org.tanukisoftware.wrapper.event

Class WrapperServiceControlEvent


public class WrapperServiceControlEvent
extends WrapperServiceEvent

WrapperServiceControlEvents are used to notify the listener whenever a Service Control Event is received by the service. These events will only be fired on Windows platforms when the Wrapper is running as a service.
Version:
$Revision: 1.6 $
Author:
Leif Mortenson

Constructor Summary

WrapperServiceControlEvent(int serviceControlCode)
Creates a new WrapperServiceControlEvent.

Method Summary

int
getServiceControlCode()
Returns the event code of the Service Control Code.
String
toString()
Returns a string representation of the event.

Methods inherited from class org.tanukisoftware.wrapper.event.WrapperServiceEvent

getFlags

Methods inherited from class org.tanukisoftware.wrapper.event.WrapperEvent

getFlags

Constructor Details

WrapperServiceControlEvent

public WrapperServiceControlEvent(int serviceControlCode)
Creates a new WrapperServiceControlEvent.
Parameters:
serviceControlCode - Service Control Code.

Method Details

getServiceControlCode

public int getServiceControlCode()
Returns the event code of the Service Control Code.
Returns:
The event code of the Service Control Code.

toString

public String toString()
Returns a string representation of the event.
Returns:
A string representation of the event.

Copyright 1999, 2006 Tanuki Software Inc., All Rights Reserved.