public class ProtobufMarshaller extends Object implements org.drools.core.marshalling.impl.InternalMarshaller
| Modifier and Type | Field and Description |
|---|---|
protected org.drools.core.marshalling.impl.KieSessionInitializer |
initializer |
protected org.kie.api.KieBase |
kbase |
protected org.kie.api.marshalling.MarshallingConfiguration |
marshallingConfig |
protected org.drools.core.RuleBaseConfiguration |
ruleBaseConfig |
protected org.kie.api.marshalling.ObjectMarshallingStrategyStore |
strategyStore |
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 |
|---|---|
org.drools.core.marshalling.impl.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(org.drools.core.marshalling.impl.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) |
ReadSessionResult |
unmarshallWithMessage(InputStream stream,
org.kie.api.runtime.KieSessionConfiguration config,
org.kie.api.runtime.Environment environment) |
protected org.drools.core.marshalling.impl.KieSessionInitializer initializer
public static final Map<Integer,TimersInputMarshaller> TIMER_READERS
protected org.kie.api.KieBase kbase
protected org.drools.core.RuleBaseConfiguration ruleBaseConfig
protected org.kie.api.marshalling.MarshallingConfiguration marshallingConfig
protected org.kie.api.marshalling.ObjectMarshallingStrategyStore strategyStore
public ProtobufMarshaller(org.kie.api.KieBase kbase,
org.kie.api.marshalling.MarshallingConfiguration marshallingConfig)
public org.drools.core.marshalling.impl.KieSessionInitializer getInitializer()
getInitializer in interface org.drools.core.marshalling.impl.InternalMarshallerpublic void setInitializer(org.drools.core.marshalling.impl.KieSessionInitializer initializer)
setInitializer in interface org.drools.core.marshalling.impl.InternalMarshallerpublic org.kie.internal.runtime.StatefulKnowledgeSession unmarshall(InputStream stream) throws IOException, ClassNotFoundException
unmarshall in interface org.kie.api.marshalling.MarshallerIOExceptionClassNotFoundExceptionpublic 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.MarshallerIOExceptionClassNotFoundExceptionpublic void unmarshall(InputStream stream, org.kie.api.runtime.KieSession ksession) throws IOException, ClassNotFoundException
unmarshall in interface org.kie.api.marshalling.MarshallerIOExceptionClassNotFoundExceptionpublic void marshall(OutputStream stream, org.kie.api.runtime.KieSession ksession) throws IOException
marshall in interface org.kie.api.marshalling.MarshallerIOExceptionpublic void marshall(OutputStream stream, org.kie.api.runtime.KieSession ksession, long clockTime) throws IOException
IOExceptionpublic org.kie.api.marshalling.MarshallingConfiguration getMarshallingConfiguration()
getMarshallingConfiguration in interface org.kie.api.marshalling.Marshallerpublic ReadSessionResult unmarshallWithMessage(InputStream stream, org.kie.api.runtime.KieSessionConfiguration config, org.kie.api.runtime.Environment environment) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.