openr66.context
Class R66Result

java.lang.Object
  extended by openr66.context.R66Result

public class R66Result
extends Object

This class is the result for every operations in OpenR66.

Author:
Frederic Bregier

Field Summary
 ErrorCode code
          The code (error or not)
 OpenR66Exception exception
          The exception associated in case of error (if any exception)
 R66File file
          The file if any
 boolean isAnswered
          Does this result already have been transfered to the remote server
 Object other
          Any other object for special operations (test or shutdown for instance)
 DbTaskRunner runner
          The runner if any
 
Constructor Summary
R66Result(OpenR66Exception exception, R66Session session, boolean isAnswered, ErrorCode code, DbTaskRunner runner)
           
R66Result(R66Session session, boolean isAnswered, ErrorCode code, DbTaskRunner runner)
           
 
Method Summary
 String getMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exception

public OpenR66Exception exception
The exception associated in case of error (if any exception)


file

public R66File file
The file if any


runner

public DbTaskRunner runner
The runner if any


isAnswered

public boolean isAnswered
Does this result already have been transfered to the remote server


code

public ErrorCode code
The code (error or not)


other

public Object other
Any other object for special operations (test or shutdown for instance)

Constructor Detail

R66Result

public R66Result(OpenR66Exception exception,
                 R66Session session,
                 boolean isAnswered,
                 ErrorCode code,
                 DbTaskRunner runner)
Parameters:
exception -
session -
isAnswered -
code -
runner -

R66Result

public R66Result(R66Session session,
                 boolean isAnswered,
                 ErrorCode code,
                 DbTaskRunner runner)
Parameters:
session -
isAnswered -
code -
runner -
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getMessage

public String getMessage()
Returns:
the associated message with this Result


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.