com.hammurapi.reasoning
Interface ReasoningSession

All Known Subinterfaces:
BackwardReasoningSession, ForwardReasoningSession<F>

public interface ReasoningSession

Base reasoning session interface.

Author:
Pavel

Method Summary
 void close()
          Closes the session and releases resources held by the session.
 String getDescription()
          Metadata method.
 ExceptionHandler getExceptionHandler()
           
 String getName()
          Metadata method.
 void reset()
          Resets session state.
 void setExceptionHandler(ExceptionHandler handler)
          Sets exception handler.
 

Method Detail

close

void close()
           throws ReasoningException
Closes the session and releases resources held by the session.

Throws:
ReasoningException

reset

void reset()
           throws ReasoningException
Resets session state.

Throws:
ReasoningException

getName

String getName()
Metadata method.

Returns:
Session name.

getDescription

String getDescription()
Metadata method.

Returns:
Session description.

setExceptionHandler

void setExceptionHandler(ExceptionHandler handler)
                         throws ReasoningException
Sets exception handler.

Parameters:
handler -
Throws:
ReasoningException

getExceptionHandler

ExceptionHandler getExceptionHandler()
                                     throws ReasoningException
Returns:
Exception listener set for this session.
Throws:
ReasoningException