public class ProtobufMarshaller extends Object implements org.kie.api.marshalling.Marshaller
| 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 |
|---|---|
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) |
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 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.MarshallerCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.