本文整理汇总了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;未经允许,请勿转载。 |
请发表评论