def putx(self, srcname, time, packet, nbytes): """Put a packet on an orb, returning the pktid of the output packet""" try: ret = _orb._orbputx(self._orbfd, srcname, time, packet, nbytes) except _orb._ElogException, _e: stock._raise_elog(_e)
def putx(self, srcname, time, packet): return check_error( _orb._orbputx(self._fd, srcname, time, packet, len(packet)), PutXError)
def putx(self, srcname, time, packet, nbytes): """Put a packet on an orb, returning the pktid of the output packet""" return _orb._orbputx(self._orbfd, srcname, time, packet, nbytes)
def putx(self, srcname, time, packet): return check_error(_orb._orbputx(self._fd, srcname, time, packet, len(packet)), PutXError)