Ejemplo n.º 1
0
    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)
Ejemplo n.º 2
0
    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)
Ejemplo n.º 3
0
 def put(self, srcname, time, packet):
     return check_error(
         _orb._orbput(self._fd, srcname, time, packet, len(packet)),
         PutError)
Ejemplo n.º 4
0
    def put(self, srcname, time, packet, nbytes):
        """Put a packet on an orb"""

        return _orb._orbput(self._orbfd, srcname, time, packet, nbytes)
Ejemplo n.º 5
0
 def put(self, srcname, time, packet):
     return check_error(_orb._orbput(self._fd, srcname, time, packet,
         len(packet)), PutError)