org.drools.marshalling.impl
Class ProtobufOutputMarshaller
java.lang.Object
org.drools.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,
ProtobufMessages.RuleData.Builder _session)
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)
writeTrigger
public static ProtobufMessages.Trigger writeTrigger(Trigger trigger,
MarshallerWriteContext outCtx)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.