13.07.2015 Views

SAMP — Simple Application Messag- ing Protocol Version 1.11 - IVOA

SAMP — Simple Application Messag- ing Protocol Version 1.11 - IVOA

SAMP — Simple Application Messag- ing Protocol Version 1.11 - IVOA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

samp.hub.event.metadata:Arguments:id (str<strong>ing</strong>) — public ID of client declar<strong>ing</strong> metadatametadata (map) — new metadata declared by clientReturn Values:noneDescription:The hub SHOULD broadcast this message every time a client declaresits metadata. The metadata argument is exactly as passedus<strong>ing</strong> the declareMetadata() method.samp.hub.event.subscriptions:Arguments:id (str<strong>ing</strong>) — public ID of subscrib<strong>ing</strong> clientsubscriptions (map) — new subscriptions declared by clientReturn Values:noneDescription:The hub SHOULD broadcast this message every time a client declaresits subscriptions. The subscriptions argument is exactlyas passed us<strong>ing</strong> the declareSubscriptions() method, and hencemay contain wildcarded MType str<strong>ing</strong>s.samp.hub.disconnect:Arguments:reason (str<strong>ing</strong>) — (OPTIONAL) Short text message indicat<strong>ing</strong>the reason that the disconnection is be<strong>ing</strong> forcedReturn Values:noneDescription:The hub SHOULD send this message to a client if the hub intendsto disconnect that client forcibly. This indicates that no furthercommunication from that client is welcome, and any such attemptsmay be expected to fail. The hub may wish to disconnect clientsforcibly as a result of some hub timeout policy or for other reasons.5.4.2 Client Administrative <strong>Messag</strong>esThe follow<strong>ing</strong> messages are generic messages defined for client use.35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!