eu.lucaventuri.fibry.distributed.ObjectSerializerUsingToString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fibry Show documentation
Show all versions of fibry Show documentation
The first Java Actor System supporting fibers from Project Loom
package eu.lucaventuri.fibry.distributed;
public class ObjectSerializerUsingToString implements ChannelSerializer {
@Override
public byte[] serialize(T message) {
return message == null ? null : message.toString().getBytes();
}
@Override
public String serializeToString(T message) {
return message == null ? null : message.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy