From 4722100cba287b164957c658c2e035783e20c963 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 18 Feb 2009 17:33:22 +0000 Subject: moved sources --- shared/remotecall/RemoteCall.java | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 shared/remotecall/RemoteCall.java (limited to 'shared/remotecall/RemoteCall.java') diff --git a/shared/remotecall/RemoteCall.java b/shared/remotecall/RemoteCall.java deleted file mode 100644 index 8703f00..0000000 --- a/shared/remotecall/RemoteCall.java +++ /dev/null @@ -1,29 +0,0 @@ -package shared.remotecall; - -import java.io.*; - -/** - * This is the abstract base class of all other classes of the shared.remotecall package. - * Its defining some common methods. - * @author buetow - * - */ -public abstract class RemoteCall { - /** - * This is a help method for writeObject of the child classes, needed for ojbect serialization (sending part). - * It checks if object is defined. If yes, it will be written to the given object output stream with a leading - * flag with the value true. Otherwise only the false flag will be written to the object output stream. - * @param objectOutputStream Specifies the output stream. - * @throws IOException - */ - protected final void writeObjectIfDefined(ObjectOutputStream objectOutputStream, Object object) - throws IOException { - if (object == null) { - objectOutputStream.writeBoolean(false); - - } else { - objectOutputStream.writeBoolean(true); - objectOutputStream.writeObject(object); - } - } -} -- cgit v1.2.3