本文整理汇总了Python中Acspy.Util.ACSCorba.acsLogSvc方法的典型用法代码示例。如果您正苦于以下问题:Python ACSCorba.acsLogSvc方法的具体用法?Python ACSCorba.acsLogSvc怎么用?Python ACSCorba.acsLogSvc使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Acspy.Util.ACSCorba
的用法示例。
在下文中一共展示了ACSCorba.acsLogSvc方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1:
# 需要导入模块: from Acspy.Util import ACSCorba [as 别名]
# 或者: from Acspy.Util.ACSCorba import acsLogSvc [as 别名]
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
# @(#) $Id: acspyTestAcsCORBA.py,v 1.1.1.1 2012/03/07 17:41:01 acaproni Exp $
###############################################################################
'''
Tests CORBA access.
'''
from Acspy.Util import ACSCorba
###############################################################################
if __name__ == '__main__':
print 'Manager corbaloc: %s' % ACSCorba.getManagerCorbaloc()
print 'ORB: %s' % ACSCorba.getORB()
print 'POA ROOT: %s' % ACSCorba.getPOARoot()
print 'POA Manager: %s' % ACSCorba.getPOAManager()
print 'Manager: %s' % ACSCorba.getManager()
print 'Client: %s' % ACSCorba.getClient()
print 'Log: %s' % ACSCorba.log()
print 'LogFactory: %s' % ACSCorba.logFactory()
print 'NotifyEventChannelFactory: %s' % ACSCorba.notifyEventChannelFactory()
print 'ArchivingChannel: %s' % ACSCorba.archivingChannel()
print 'LoggingChannel: %s' % ACSCorba.loggingChannel()
print 'InterfaceRepository: %s' % ACSCorba.interfaceRepository()
print 'CDB: %s' % ACSCorba.cdb()
print 'ACSLogSvc: %s' % ACSCorba.acsLogSvc()
print 'NameService: %s' % ACSCorba.nameService()