org.drools.core.marshalling.impl
Class ProtobufOutputMarshaller
java.lang.Object
org.drools.core.marshalling.impl.ProtobufOutputMarshaller
public class ProtobufOutputMarshaller
- extends Object
An output marshaller that uses ProtoBuf as the marshalling framework
in order to provide backward compatibility with marshalled sessions
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtobufOutputMarshaller
public ProtobufOutputMarshaller()
writeSession
public static void writeSession(MarshallerWriteContext context)
throws IOException
- Throws:
IOException
writeActionQueue
public static void writeActionQueue(MarshallerWriteContext context,
ProtobufMessages.RuleData.Builder _session)
throws IOException
- Throws:
IOException
writeTruthMaintenanceSystem
public static void writeTruthMaintenanceSystem(MarshallerWriteContext context,
org.kie.api.runtime.rule.EntryPoint wmep,
ProtobufMessages.EntryPoint.Builder _epb)
throws IOException
- Throws:
IOException
orderFacts
public static InternalFactHandle[] orderFacts(ObjectStore objectStore)
orderFacts
public static InternalFactHandle[] orderFacts(List<InternalFactHandle> handlesList)
writeActivation
public static ProtobufMessages.Activation writeActivation(MarshallerWriteContext context,
AgendaItem agendaItem)
writeTuple
public static ProtobufMessages.Tuple writeTuple(LeftTuple tuple)
writeTrigger
public static ProtobufMessages.Trigger writeTrigger(Trigger trigger,
MarshallerWriteContext outCtx)
writeWorkItem
public static void writeWorkItem(MarshallerWriteContext context,
WorkItem workItem)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.