KickJava   Java API By Example, From Geeks To Geeks.

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


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 abstract class AbstractMessageCommand implements MessageCommand {
17     private MessageWriter writer;
18
19     protected MessageWriter getWriter() {
20         return writer;
21     }
22
23     public AbstractMessageCommand(MessageWriter writer) {
24         this.writer = writer;
25     }
26 }
27
Popular Tags