Hub discovery

VirtualObservatorySAMP.SAMPHubType
SAMPHub <: AbstractSAMPHub

A local SAMP hub.

Can be created by a simple call SAMPHub(): all fields are automatically set following the SAMP protocol.

Members

  • proxy: the XMLRPC proxy associated with the hub
  • url: the hub URL
  • secret: the hub secret (used for the client registration)
  • version: the hub version, as a string
  • conf: a dictionary with all hub configuration parameters
source
VirtualObservatorySAMP.SAMPWebHubType
SAMPWebHub <: AbstractSAMPHub

A Web SAMP hub.

Can be created by a simple call SAMPWebHub(): all fields are automatically set following the SAMP protocl.

Members

  • proxy: the XMLRPC proxy associated with the hub
  • url: the hub URL (always equal to "http://localhost:21012/")
source
VirtualObservatorySAMP.pingFunction
ping(hub)

Ping the hub.

This function retunrs nothing if the hub can be pinged; otherwise, an error is thrown.

source
ping(client, dest=client.client_id)
pint(dest)

Ping id; return nothing in case of success.

source