示例#1
0
static void nn_surveyor_term (struct nn_surveyor *self)
{
    nn_msg_term (&self->tosend);
    nn_timer_term (&self->timer);
    nn_fsm_term (&self->fsm);
    nn_xsurveyor_term (&self->xsurveyor);
}
示例#2
0
static void nn_xsurveyor_destroy (struct nn_sockbase *self)
{
    struct nn_xsurveyor *xsurveyor;

    xsurveyor = nn_cont (self, struct nn_xsurveyor, sockbase);

    nn_xsurveyor_term (xsurveyor);
    nn_free (xsurveyor);
}
示例#3
0
文件: surveyor.c 项目: Droppe/nanomsg
static void nn_surveyor_term (struct nn_surveyor *self)
{
    nn_timer_term (&self->deadline_timer);
    nn_xsurveyor_term (&self->xsurveyor);
}