public class NoopConnection extends AbstractConnection
SENTRY_PROTOCOL_VERSION
Constructor and Description |
---|
NoopConnection()
Creates a connection that drops events.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
doSend(Event event)
Sends an event to the Sentry server.
|
addEventSendCallback, getAuthHeader, send
protected void doSend(Event event) throws ConnectionException
AbstractConnection
doSend
in class AbstractConnection
event
- captured event to add in Sentry.ConnectionException
- whenever a temporary exception due to the connection happened.public void close() throws IOException
IOException
Copyright © 2012–2017. All rights reserved.