public void handleFoundResponse(final String fileName, final long size) throws IOException { Debug.out.println( "SizeResponseSerializerImpl.handleFoundResponse: sending FOUND " + fileName + " " + size + " BYTES"); out.println("FOUND " + fileName + " " + size + " BYTES"); }
public void handleEndOfStream() throws IOException { Debug.out.println("SizeResponseSerializerImpl.handleEndOfStream: closing stream"); out.close(); }
public void handleOKResponse() throws IOException { Debug.out.println("SizeResponseSerializerImpl.handleOKResponse: sending OK"); out.println("OK"); }
public void handleNotFoundResponse() throws IOException { Debug.out.println("SizeResponseSerializerImpl.handleNotFoundResponse: sending NOT FOUND"); out.println("NOT FOUND"); }