Class ToolExecutionResultMessageSerializer
java.lang.Object
org.bsc.langgraph4j.langchain4j.serializer.std.ToolExecutionResultMessageSerializer
- All Implemented Interfaces:
Serializer<dev.langchain4j.data.message.ToolExecutionResultMessage>
public class ToolExecutionResultMessageSerializer
extends Object
implements Serializer<dev.langchain4j.data.message.ToolExecutionResultMessage>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondev.langchain4j.data.message.ToolExecutionResultMessage
read
(ObjectInput in) void
write
(dev.langchain4j.data.message.ToolExecutionResultMessage object, ObjectOutput out) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bsc.langgraph4j.serializer.Serializer
cloneObject, mimeType, readObject, writeObject
-
Constructor Details
-
ToolExecutionResultMessageSerializer
public ToolExecutionResultMessageSerializer()
-
-
Method Details
-
write
public void write(dev.langchain4j.data.message.ToolExecutionResultMessage object, ObjectOutput out) throws IOException - Specified by:
write
in interfaceSerializer<dev.langchain4j.data.message.ToolExecutionResultMessage>
- Throws:
IOException
-
read
public dev.langchain4j.data.message.ToolExecutionResultMessage read(ObjectInput in) throws IOException, ClassNotFoundException - Specified by:
read
in interfaceSerializer<dev.langchain4j.data.message.ToolExecutionResultMessage>
- Throws:
IOException
ClassNotFoundException
-