def put(self, srcname, time, packet, nbytes): """Put a packet on an orb""" try: ret = _orb._orbput(self._orbfd, srcname, time, packet, nbytes) except _orb._ElogException, _e: stock._raise_elog(_e)
def put(self, srcname, time, packet): return check_error( _orb._orbput(self._fd, srcname, time, packet, len(packet)), PutError)
def put(self, srcname, time, packet, nbytes): """Put a packet on an orb""" return _orb._orbput(self._orbfd, srcname, time, packet, nbytes)
def put(self, srcname, time, packet): return check_error(_orb._orbput(self._fd, srcname, time, packet, len(packet)), PutError)