MCPcopy Create free account
hub / github.com/33cn/chain33 / Reply

Method Reply

queue/queue.go:350–356  ·  view source on GitHub ↗

Reply reply message to reply chan

(replyMsg *Message)

Source from the content-addressed store, hash-verified

348
349// Reply reply message to reply chan
350func (msg *Message) Reply(replyMsg *Message) {
351 if msg.chReply == nil {
352 qlog.Debug("reply a empty chreply", "msg", msg)
353 return
354 }
355 msg.chReply <- replyMsg
356}
357
358// String print the message information
359func (msg *Message) String() string {

Callers 10

TestTimeoutFunction · 0.95
TestMultiTopicFunction · 0.95
TestHighLowFunction · 0.95
TestClientCloseFunction · 0.95
TestMessage_ReplyErrFunction · 0.95
BenchmarkSendMessageFunction · 0.95
BenchmarkChanSub2Function · 0.95
BenchmarkChanSub3Function · 0.95
TestChannelCloseFunction · 0.95
ReplyErrMethod · 0.95

Calls 1

DebugMethod · 0.65

Tested by 9

TestTimeoutFunction · 0.76
TestMultiTopicFunction · 0.76
TestHighLowFunction · 0.76
TestClientCloseFunction · 0.76
TestMessage_ReplyErrFunction · 0.76
BenchmarkSendMessageFunction · 0.76
BenchmarkChanSub2Function · 0.76
BenchmarkChanSub3Function · 0.76
TestChannelCloseFunction · 0.76