use of net.i2p.data.i2cp.I2CPMessageException in project i2p.i2p by i2p.
the class ClientMessageEventListener method sendStatusMessage.
private void sendStatusMessage(SessionId id, int status) {
SessionStatusMessage msg = new SessionStatusMessage();
msg.setSessionId(id);
msg.setStatus(status);
try {
_runner.doSend(msg);
} catch (I2CPMessageException ime) {
if (_log.shouldLog(Log.WARN))
_log.warn("Error writing out the session status message", ime);
}
}
Aggregations