Ejemplo n.º 1
0
 def send_ok(self):
     '''
   IcarusRep with OK message
   '''
     rep = IcarusRep()
     rep.status = OK
     self._send_rep(rep)
Ejemplo n.º 2
0
 def send_ok(self):
    '''
    IcarusRep with OK message
    '''
    rep = IcarusRep()
    rep.status = OK
    self._send_rep(rep)
Ejemplo n.º 3
0
 def send_err(self, code, msg):
     '''
   IcarusRep with error code and message
   '''
     rep = IcarusRep()
     rep.status = code
     rep.message = msg
     self._send_rep(rep)
Ejemplo n.º 4
0
 def send_err(self, code, msg):
    '''
    IcarusRep with error code and message
    '''
    rep = IcarusRep()
    rep.status = code
    rep.message = msg
    self._send_rep(rep)