public class ProtobufMarshaller extends Object implements InternalMarshaller
Modifier and Type | Field and Description |
---|---|
static Map<Integer,TimersInputMarshaller> |
TIMER_READERS |
Constructor and Description |
---|
ProtobufMarshaller(org.kie.api.KieBase kbase,
org.kie.api.marshalling.MarshallingConfiguration marshallingConfig) |
Modifier and Type | Method and Description |
---|---|
KieSessionInitializer |
getInitializer() |
org.kie.api.marshalling.MarshallingConfiguration |
getMarshallingConfiguration() |
void |
marshall(OutputStream stream,
org.kie.api.runtime.KieSession ksession) |
void |
marshall(OutputStream stream,
org.kie.api.runtime.KieSession ksession,
long clockTime) |
void |
setInitializer(KieSessionInitializer initializer) |
org.kie.internal.runtime.StatefulKnowledgeSession |
unmarshall(InputStream stream) |
void |
unmarshall(InputStream stream,
org.kie.api.runtime.KieSession ksession) |
org.kie.internal.runtime.StatefulKnowledgeSession |
unmarshall(InputStream stream,
org.kie.api.runtime.KieSessionConfiguration config,
org.kie.api.runtime.Environment environment) |
public static final Map<Integer,TimersInputMarshaller> TIMER_READERS
public ProtobufMarshaller(org.kie.api.KieBase kbase, org.kie.api.marshalling.MarshallingConfiguration marshallingConfig)
public KieSessionInitializer getInitializer()
getInitializer
in interface InternalMarshaller
public void setInitializer(KieSessionInitializer initializer)
setInitializer
in interface InternalMarshaller
public org.kie.internal.runtime.StatefulKnowledgeSession unmarshall(InputStream stream) throws IOException, ClassNotFoundException
unmarshall
in interface org.kie.api.marshalling.Marshaller
IOException
ClassNotFoundException
public org.kie.internal.runtime.StatefulKnowledgeSession unmarshall(InputStream stream, org.kie.api.runtime.KieSessionConfiguration config, org.kie.api.runtime.Environment environment) throws IOException, ClassNotFoundException
unmarshall
in interface org.kie.api.marshalling.Marshaller
IOException
ClassNotFoundException
public void unmarshall(InputStream stream, org.kie.api.runtime.KieSession ksession) throws IOException, ClassNotFoundException
unmarshall
in interface org.kie.api.marshalling.Marshaller
IOException
ClassNotFoundException
public void marshall(OutputStream stream, org.kie.api.runtime.KieSession ksession) throws IOException
marshall
in interface org.kie.api.marshalling.Marshaller
IOException
public void marshall(OutputStream stream, org.kie.api.runtime.KieSession ksession, long clockTime) throws IOException
IOException
public org.kie.api.marshalling.MarshallingConfiguration getMarshallingConfiguration()
getMarshallingConfiguration
in interface org.kie.api.marshalling.Marshaller
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.