本文整理汇总了Python中stock._raise_elog函数的典型用法代码示例。如果您正苦于以下问题:Python _raise_elog函数的具体用法?Python _raise_elog怎么用?Python _raise_elog使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了_raise_elog函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: pf
def pf(self):
try:
ret = self._pkt.pf()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例2: version
def version(self):
try:
ret = self._pkt.version()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例3: dfile
def dfile(self):
try:
ret = self._pkt.dfile()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例4: channels
def channels(self, ichannel):
try:
pci = self._pkt.channels(ichannel)
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例5: string
def string(self):
try:
ret = self._pkt.string()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例6: nchannels
def nchannels(self):
try:
ret = self._pkt.nchannels()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例7: srcname
def srcname(self):
try:
ret = self._pkt.srcname()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例8: show
def show(self, mode = PKT_TERSE):
try:
ret = self._pkt.show(mode)
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例9: db
def db(self):
try:
db = self._pkt.db()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例10: sta
def sta(self):
try:
ret = self._pktchannel.sta()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例11: cuser2
def cuser2(self):
try:
ret = self._pktchannel.cuser2()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例12: PacketType
def PacketType(self):
try:
ret = self._pkt.PacketType()
except _Pkt._ElogException, _e:
stock._raise_elog(_e)
示例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)
示例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)
示例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)