Package io.sentry.transport
Interface ITransport
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
AsyncHttpTransport
,NoOpTransport
,StdoutTransport
A transport is in charge of sending the event to the Sentry server.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush
(long timeoutMillis) Flushes events queued up, but keeps the client enabled.default void
send
(@NotNull SentryEnvelope envelope) void
send
(@NotNull SentryEnvelope envelope, @NotNull Hint hint)
-
Method Details
-
send
void send(@NotNull @NotNull SentryEnvelope envelope, @NotNull @NotNull Hint hint) throws IOException - Throws:
IOException
-
send
- Throws:
IOException
-
flush
void flush(long timeoutMillis) Flushes events queued up, but keeps the client enabled. Not implemented yet.- Parameters:
timeoutMillis
- time in milliseconds
-