Implement the skeleton for the ServerManager and the spawn of the connection_ids
This commit is contained in:
@@ -190,11 +190,11 @@ async fn main() -> std::io::Result<()> {
|
||||
Msg { reply_id, body } => {
|
||||
use ToServerMessageBody::*;
|
||||
match body {
|
||||
Required { id } => {
|
||||
info!("I'm required with Connection ID {}", id);
|
||||
Request { conn_id } => {
|
||||
info!("I'm required with Connection ID {}", conn_id);
|
||||
out = Some(FromServerReply::Msg {
|
||||
reply_id,
|
||||
body: FromServerReplyBody::RequiredAccepted,
|
||||
body: FromServerReplyBody::RequestAccepted,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user