KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > tools > OPP > message > command > EndCommand


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: $
8
package org.ozoneDB.tools.OPP.message.command;
9
10 import org.ozoneDB.tools.OPP.message.MessageWriter;
11
12 /**
13  *
14  * @author Joakim Ohlrogge
15  */

16 public class EndCommand extends AbstractMessageCommand {
17     public EndCommand(MessageWriter writer) {
18         super(writer);
19     }
20
21     public void execute() {
22         getWriter().endGeneration();
23     }
24 }
25
Popular Tags