org.openware.jdf.protocol
Class JDFReply

java.lang.Object
  |
  +--org.openware.jdf.protocol.JDFReply

public class JDFReply
extends java.lang.Object

The reply object for the JDF protocol. This contains the return type and the serializable object to return.

Author:
Vincent Sheffer

Field Summary
static int BOOLEAN
           
static int DOUBLE
           
static int EXCEPTION
           
static int FLOAT
           
static int FORWARD
           
static int INT
           
static int LONG
           
static int OBJECT
           
static int REMOTE
           
static int VOID
           
 
Constructor Summary
JDFReply()
           
JDFReply(boolean value)
           
JDFReply(double value)
           
JDFReply(float value)
           
JDFReply(int value)
           
JDFReply(int returnType, java.io.Serializable object)
           
JDFReply(JDFRemoteObject obj)
           
JDFReply(long value)
           
JDFReply(java.io.ObjectInputStream in)
           
 
Method Summary
 java.lang.Object getReturnedObject()
           
 int getReturnType()
           
 void writeExternal(java.io.ObjectOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INT

public static final int INT

LONG

public static final int LONG

FLOAT

public static final int FLOAT

DOUBLE

public static final int DOUBLE

BOOLEAN

public static final int BOOLEAN

VOID

public static final int VOID

OBJECT

public static final int OBJECT

EXCEPTION

public static final int EXCEPTION

REMOTE

public static final int REMOTE

FORWARD

public static final int FORWARD
Constructor Detail

JDFReply

public JDFReply()

JDFReply

public JDFReply(int returnType,
                java.io.Serializable object)

JDFReply

public JDFReply(int value)

JDFReply

public JDFReply(long value)

JDFReply

public JDFReply(float value)

JDFReply

public JDFReply(double value)

JDFReply

public JDFReply(boolean value)

JDFReply

public JDFReply(JDFRemoteObject obj)

JDFReply

public JDFReply(java.io.ObjectInputStream in)
         throws java.io.IOException
Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutputStream out)
                   throws java.io.IOException

getReturnType

public int getReturnType()

getReturnedObject

public java.lang.Object getReturnedObject()
                                   throws java.lang.Exception


Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.