Package io.sentry.transport
Class StdoutTransport
- java.lang.Object
-
- io.sentry.transport.StdoutTransport
-
- All Implemented Interfaces:
ITransport
,java.io.Closeable
,java.lang.AutoCloseable
public final class StdoutTransport extends java.lang.Object implements ITransport
-
-
Constructor Summary
Constructors Constructor Description StdoutTransport(@NotNull ISerializer serializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush(long timeoutMillis)
Flushes events queued up, but keeps the client enabled.void
send(@NotNull SentryEnvelope envelope, @Nullable java.lang.Object hint)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.sentry.transport.ITransport
send
-
-
-
-
Constructor Detail
-
StdoutTransport
public StdoutTransport(@NotNull @NotNull ISerializer serializer)
-
-
Method Detail
-
send
public void send(@NotNull @NotNull SentryEnvelope envelope, @Nullable @Nullable java.lang.Object hint) throws java.io.IOException
- Specified by:
send
in interfaceITransport
- Throws:
java.io.IOException
-
flush
public void flush(long timeoutMillis)
Description copied from interface:ITransport
Flushes events queued up, but keeps the client enabled. Not implemented yet.- Specified by:
flush
in interfaceITransport
- Parameters:
timeoutMillis
- time in milliseconds
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-