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

        return _orb._orbput(self._orbfd, srcname, time, packet, nbytes)
示例#5
0
 def put(self, srcname, time, packet):
     return check_error(_orb._orbput(self._fd, srcname, time, packet,
         len(packet)), PutError)