参考/API#

astropy.samp公司包裹#

此子包提供类,以便通过 Simple Application Messaging Protocol (SAMP)

在融入 Astropy 之前,它被称为 SAMPy ,并由Luigi Paioro开发。

Classes#

Conf \()

的配置参数 astropy.samp .

SAMPClient(hub[, name, description, ...])

实用程序类,它提供了创建和管理与SAMP兼容的XML-RPC服务器(充当SAMP可调用客户机应用程序)的工具。

SAMPClientError 

SAMP客户端异常。

SAMPHubError 

SAMP集线器异常。

SAMPHubProxy \()

代理类简化与SAMP中心的客户机交互(通过标准概要文件)。

SAMPHubServer([secret, addr, port, ...])

SAMP集线器服务器。

SAMPIntegratedClient([name, description, ...])

一个简单的SAMP客户端。

SAMPMsgReplierWrapper \(CLI)

函数装饰器,允许自动从绑定到SAMP调用(或notify)的函数获取错误并返回映射(如果有)。

SAMPProxyError(faultCode, faultString, **extra)

SAMP代理集线器异常。

SAMPWarning 

特定于SAMP的Astroy警告类。

WebProfileDialog \()

一个基类,使编写Web配置文件GUI同意对话框更容易。

类继承图#

Inheritance diagram of astropy.samp.Conf, astropy.samp.client.SAMPClient, astropy.samp.errors.SAMPClientError, astropy.samp.errors.SAMPHubError, astropy.samp.hub_proxy.SAMPHubProxy, astropy.samp.hub.SAMPHubServer, astropy.samp.integrated_client.SAMPIntegratedClient, astropy.samp.utils.SAMPMsgReplierWrapper, astropy.samp.errors.SAMPProxyError, astropy.samp.errors.SAMPWarning, astropy.samp.hub.WebProfileDialog