• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python stock._raise_elog函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中stock._raise_elog函数的典型用法代码示例。如果您正苦于以下问题:Python _raise_elog函数的具体用法?Python _raise_elog怎么用?Python _raise_elog使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了_raise_elog函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: pf

    def pf(self):

	try:

            ret = self._pkt.pf()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例2: version

    def version(self):

	try:

            ret = self._pkt.version()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例3: dfile

    def dfile(self):

	try:

            ret = self._pkt.dfile()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例4: channels

    def channels(self, ichannel):

	try:

            pci = self._pkt.channels(ichannel)
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例5: string

    def string(self):

	try:

            ret = self._pkt.string()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例6: nchannels

    def nchannels(self):

	try:

            ret = self._pkt.nchannels()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例7: srcname

    def srcname(self):

	try:

            ret = self._pkt.srcname()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例8: show

    def show(self, mode = PKT_TERSE):

	try:

            ret = self._pkt.show(mode)
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例9: db

    def db(self):

	try:

            db = self._pkt.db()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例10: sta

    def sta(self):
       
       try:

           ret = self._pktchannel.sta()

       except _Pkt._ElogException, _e:

           stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例11: cuser2

    def cuser2(self):
       
       try:

           ret = self._pktchannel.cuser2()

       except _Pkt._ElogException, _e:

           stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例12: PacketType

    def PacketType(self):

	try:

            ret = self._pkt.PacketType()
        
	except _Pkt._ElogException, _e:

	    stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:9,代码来源:Pkt.py


示例13: lag

    def lag(self, match = None, reject = None):
        """"Return parameters indicating degree to which clients are behind"""

	try:

            ret = _orb._orblag(self._orbfd, match, reject)

	except _orb._ElogException, _e: 

            stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py


示例14: put

    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)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py


示例15: get

    def get(self, whichpkt):
        """Get a specified packet from an orb"""

	try:

            ret = _orb._orbget(self._orbfd, whichpkt)

	except _orb._ElogException, _e: 

            stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py


示例16: reap_timeout

    def reap_timeout(self, maxseconds):
        """Get the next packet from an orb, waiting a maximum number of seconds"""

	try:

            ret = _orb._orbreap_timeout(self._orbfd, maxseconds)

	except _orb._ElogException, _e: 

            stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py


示例17: reap

    def reap(self):
        """Get the next packet from an orb"""

	try:

            ret = _orb._orbreap(self._orbfd)

	except _orb._ElogException, _e: 

            stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py


示例18: after

    def after(self, time):
        """Position orb connection packet pointer by epoch time"""

	try:

            ret = _orb._orbafter(self._orbfd, time)

	except _orb._ElogException, _e: 

            stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py


示例19: orbexhume

def orbexhume(filename):
    """Read and initiate a statefile for orb tracking"""

    try:

        ret = _orb._orbexhume(filename)

    except _orb._ElogException, _e: 

        stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py


示例20: resurrect

    def resurrect(self):
        """restores previous orb position variables"""

	try:

            ret = _orb._orbresurrect(self._orbfd)

	except _orb._ElogException, _e: 

            stock._raise_elog(_e)
开发者ID:EugeneGalipchak,项目名称:antelope_contrib,代码行数:10,代码来源:orb.py



注:本文中的stock._raise_elog函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python test_purchase_receipt.set_perpetual_inventory函数代码示例发布时间:2022-05-27
下一篇:
Python dates.serialize_value函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap