Shutdown.java

key0-96/src/events/Shutdown.java · 274 B

From the archive key0-96.tar.bz2

Download the archive   « Back to the archive contents

package key.events;

import key.*;

public class Shutdown extends Event
{
	public Shutdown()
	{
	}

	public void run( Daemon scheduler )
	{
		(new key.effect.Global( "system reset" )).cause();
		Log.debug( this, "Shutdown event called" );
		Key.instance().shutdown();
	}
}

Site Stats

Snippets: 1791
Codebases: 571