org.drools.marshalling.impl
Class InputMarshaller

java.lang.Object
  extended by org.drools.marshalling.impl.InputMarshaller

public class InputMarshaller
extends Object


Constructor Summary
InputMarshaller()
           
 
Method Summary
static void readActionQueue(MarshallerReaderContext context)
           
static Activation readActivation(MarshallerReaderContext context)
           
static void readActivations(MarshallerReaderContext context)
           
static void readAgenda(MarshallerReaderContext context, DefaultAgenda agenda)
           
static InternalFactHandle readFactHandle(MarshallerReaderContext context)
           
static void readFactHandles(MarshallerReaderContext context)
           
static void readLeftTuple(LeftTuple parentLeftTuple, MarshallerReaderContext context)
           
static void readLeftTuples(MarshallerReaderContext context)
           
static void readPropagationContext(MarshallerReaderContext context)
           
static void readPropagationContexts(MarshallerReaderContext context)
           
static void readRightTuple(MarshallerReaderContext context, InternalFactHandle factHandle)
           
static void readRightTuples(InternalFactHandle factHandle, MarshallerReaderContext context)
           
static ReteooStatefulSession readSession(MarshallerReaderContext context, int id, ExecutorService executor)
          Create a new session into which to read the stream data
static ReteooStatefulSession readSession(MarshallerReaderContext context, int id, ExecutorService executor, org.drools.runtime.Environment environment, SessionConfiguration config)
           
static ReteooStatefulSession readSession(ReteooStatefulSession session, MarshallerReaderContext context)
          Stream the data into an existing session
static void readTruthMaintenanceSystem(MarshallerReaderContext context)
           
static WorkItem readWorkItem(MarshallerReaderContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputMarshaller

public InputMarshaller()
Method Detail

readSession

public static ReteooStatefulSession readSession(ReteooStatefulSession session,
                                                MarshallerReaderContext context)
                                         throws IOException,
                                                ClassNotFoundException
Stream the data into an existing session

Parameters:
session -
context -
id -
executor -
Returns:
Throws:
IOException
ClassNotFoundException

readSession

public static ReteooStatefulSession readSession(MarshallerReaderContext context,
                                                int id,
                                                ExecutorService executor)
                                         throws IOException,
                                                ClassNotFoundException
Create a new session into which to read the stream data

Parameters:
context -
id -
executor -
Returns:
Throws:
IOException
ClassNotFoundException

readSession

public static ReteooStatefulSession readSession(MarshallerReaderContext context,
                                                int id,
                                                ExecutorService executor,
                                                org.drools.runtime.Environment environment,
                                                SessionConfiguration config)
                                         throws IOException,
                                                ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readAgenda

public static void readAgenda(MarshallerReaderContext context,
                              DefaultAgenda agenda)
                       throws IOException
Throws:
IOException

readActionQueue

public static void readActionQueue(MarshallerReaderContext context)
                            throws IOException,
                                   ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readTruthMaintenanceSystem

public static void readTruthMaintenanceSystem(MarshallerReaderContext context)
                                       throws IOException
Throws:
IOException

readFactHandles

public static void readFactHandles(MarshallerReaderContext context)
                            throws IOException,
                                   ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readFactHandle

public static InternalFactHandle readFactHandle(MarshallerReaderContext context)
                                         throws IOException,
                                                ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readRightTuples

public static void readRightTuples(InternalFactHandle factHandle,
                                   MarshallerReaderContext context)
                            throws IOException
Throws:
IOException

readRightTuple

public static void readRightTuple(MarshallerReaderContext context,
                                  InternalFactHandle factHandle)
                           throws IOException
Throws:
IOException

readLeftTuples

public static void readLeftTuples(MarshallerReaderContext context)
                           throws IOException,
                                  ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readLeftTuple

public static void readLeftTuple(LeftTuple parentLeftTuple,
                                 MarshallerReaderContext context)
                          throws IOException,
                                 ClassNotFoundException
Throws:
IOException
ClassNotFoundException

readActivations

public static void readActivations(MarshallerReaderContext context)
                            throws IOException
Throws:
IOException

readActivation

public static Activation readActivation(MarshallerReaderContext context)
                                 throws IOException
Throws:
IOException

readPropagationContexts

public static void readPropagationContexts(MarshallerReaderContext context)
                                    throws IOException
Throws:
IOException

readPropagationContext

public static void readPropagationContext(MarshallerReaderContext context)
                                   throws IOException
Throws:
IOException

readWorkItem

public static WorkItem readWorkItem(MarshallerReaderContext context)
                             throws IOException
Throws:
IOException


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.