public class EventChannelEncoder extends EventEncoder implements MasterProcessChannelEncoder
| Constructor and Description |
|---|
EventChannelEncoder(WritableBufferedByteChannel out)
The encoder for events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acquireNextTest() |
void |
bye() |
boolean |
checkError() |
void |
consoleDebugLog(String message) |
void |
consoleErrorLog(StackTraceWriter stackTraceWriter,
boolean trimStackTraces) |
void |
consoleErrorLog(String message) |
void |
consoleErrorLog(String message,
Throwable t) |
void |
consoleErrorLog(Throwable t) |
void |
consoleInfoLog(String message) |
void |
consoleWarningLog(String message) |
void |
onJvmExit() |
void |
sendExitError(StackTraceWriter stackTraceWriter,
boolean trimStackTraces) |
void |
stopOnNextTest() |
void |
testAssumptionFailure(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testError(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testFailed(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testOutput(TestOutputReportEntry reportEntry) |
void |
testSetCompleted(TestSetReportEntry reportEntry,
boolean trimStackTraces) |
void |
testSetStarting(TestSetReportEntry reportEntry,
boolean trimStackTraces) |
void |
testSkipped(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testStarting(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testSucceeded(ReportEntry reportEntry,
boolean trimStackTraces) |
protected void |
write(ByteBuffer frame,
boolean sync) |
enumToByteArray, getCharset, getEncodedCharsetName, getEncodedMagicNumber, newCharsetEncoderencode, encode, encodeCharset, encodeHeader, encodeHeader, encodeInteger, encodeString, estimateBufferLengthpublic EventChannelEncoder(@Nonnull WritableBufferedByteChannel out)
out - the channel available for writing the eventspublic boolean checkError()
checkError in interface MasterProcessChannelEncoderpublic void onJvmExit()
onJvmExit in interface MasterProcessChannelEncoderpublic void testSetStarting(TestSetReportEntry reportEntry, boolean trimStackTraces)
testSetStarting in interface MasterProcessChannelEncoderpublic void testSetCompleted(TestSetReportEntry reportEntry, boolean trimStackTraces)
testSetCompleted in interface MasterProcessChannelEncoderpublic void testStarting(ReportEntry reportEntry, boolean trimStackTraces)
testStarting in interface MasterProcessChannelEncoderpublic void testSucceeded(ReportEntry reportEntry, boolean trimStackTraces)
testSucceeded in interface MasterProcessChannelEncoderpublic void testFailed(ReportEntry reportEntry, boolean trimStackTraces)
testFailed in interface MasterProcessChannelEncoderpublic void testSkipped(ReportEntry reportEntry, boolean trimStackTraces)
testSkipped in interface MasterProcessChannelEncoderpublic void testError(ReportEntry reportEntry, boolean trimStackTraces)
testError in interface MasterProcessChannelEncoderpublic void testAssumptionFailure(ReportEntry reportEntry, boolean trimStackTraces)
testAssumptionFailure in interface MasterProcessChannelEncoderpublic void testOutput(TestOutputReportEntry reportEntry)
testOutput in interface MasterProcessChannelEncoderpublic void consoleInfoLog(String message)
consoleInfoLog in interface MasterProcessChannelEncoderpublic void consoleErrorLog(String message)
consoleErrorLog in interface MasterProcessChannelEncoderpublic void consoleErrorLog(Throwable t)
consoleErrorLog in interface MasterProcessChannelEncoderpublic void consoleErrorLog(String message, Throwable t)
consoleErrorLog in interface MasterProcessChannelEncoderpublic void consoleErrorLog(StackTraceWriter stackTraceWriter, boolean trimStackTraces)
consoleErrorLog in interface MasterProcessChannelEncoderpublic void consoleDebugLog(String message)
consoleDebugLog in interface MasterProcessChannelEncoderpublic void consoleWarningLog(String message)
consoleWarningLog in interface MasterProcessChannelEncoderpublic void bye()
bye in interface MasterProcessChannelEncoderpublic void stopOnNextTest()
stopOnNextTest in interface MasterProcessChannelEncoderpublic void acquireNextTest()
acquireNextTest in interface MasterProcessChannelEncoderpublic void sendExitError(StackTraceWriter stackTraceWriter, boolean trimStackTraces)
sendExitError in interface MasterProcessChannelEncoderprotected void write(ByteBuffer frame, boolean sync)
write in class AbstractStreamEncoder<ForkedProcessEventType>Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.