Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/core_zmq_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,15 @@ impl CoreZMQListener {
match zmq::SocketEvent::from_raw(event_number) {
zmq::SocketEvent::CONNECTED => {
if let Some(ref tx) = tx_zmq_status {
println!("ODY Socket connected to {}", endpoint);
println!("ZMQ Socket connected to {}", endpoint);
tx.send(ZMQConnectionEvent::Connected)
.expect("Failed to send connected event");
}
// Connection is successful
}
zmq::SocketEvent::DISCONNECTED => {
if let Some(ref tx) = tx_zmq_status {
println!("ODY Socket disconnected from {}", endpoint);
println!("ZMQ Socket disconnected from {}", endpoint);
tx.send(ZMQConnectionEvent::Disconnected)
.expect("Failed to send connected event");
}
Expand Down