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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.4 Core MTypesThis section defines those MTypes currently in the “samp.” hierarchy. Theseare the “administrative”-type MTypes which are core to the <strong>SAMP</strong> architectureor widely applicable to <strong>SAMP</strong> applications.5.4.1 Hub Administrative <strong>Messag</strong>esThe follow<strong>ing</strong> MTypes are for messages which SHOULD be broadcast by thehub in response to changes in hub state. By subscrib<strong>ing</strong> to these messages,clients are able to keep track of the current set of registered applications andof their metadata and subscriptions. In general, non-hub clients SHOULDNOT send these messages.samp.hub.event.shutdown:Arguments:noneReturn Values:noneDescription:The hub SHOULD broadcast this message just before it exits.The hub SHOULD make every effort to broadcast this messageeven in case of an exit due to an error condition.samp.hub.event.register:Arguments:id (str<strong>ing</strong>) — Public ID of newly registered clientReturn Values:noneDescription:The hub SHOULD broadcast this message every time a clientsuccessfully registers.samp.hub.event.unregister:Arguments:id (str<strong>ing</strong>) — public ID of unregistered clientReturn Values:noneDescription:The hub SHOULD broadcast this message every time a clientunregisters.34

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

Saved successfully!

Ooh no, something went wrong!