Class ServerProtocolIO

java.lang.Object
org.apache.tika.pipes.core.server.ServerProtocolIO

public class ServerProtocolIO extends Object
Centralizes protocol I/O operations shared by PipesServer and ConnectionHandler.

This class handles the pure protocol mechanics — serialization, framing, and ACK exchange. It does not make lifecycle decisions (exit vs. return, close connection vs. shut down JVM). Callers are responsible for catching exceptions and responding according to their own lifecycle policy.