示例#1
0
func (this *app) OnForward(msg *pastry.Message, nextId pastry.NodeID) bool {
	debug.Debugf("forward to %s for %s", nextId.String(), msg.String())
	return true
}
示例#2
0
func (this *app) OnDeliver(msg pastry.Message) {
	// msg sent out to cluster
	debug.Debugf("%s", msg.String())
}