MCPcopy Create free account
hub / github.com/chenshuo/muduo / onAnswer

Method onAnswer

examples/protobuf/codec/client.cc:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 void onAnswer(const muduo::net::TcpConnectionPtr&,
72 const AnswerPtr& message,
73 muduo::Timestamp)
74 {
75 LOG_INFO << "onAnswer:\n" << message->GetTypeName() << message->DebugString();
76 }
77
78 void onEmpty(const muduo::net::TcpConnectionPtr&,
79 const EmptyPtr& message,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected