public void setConnectionStateListener(FudgeConnectionStateListener listener) {
_stateListener = listener;
}
protected void notifyConnectionFailed(Exception e) {
final FudgeConnectionStateListener stateListener = _stateListener;
if (stateListener != null) {
try {
stateListener.connectionFailed(SocketFudgeConnection.this, e);
} catch (Exception e2) {
s_logger.warn("Error notifying state listener of connection failure", e2);
}
}
}