// Configure it with metadata about this application
_connector.declareMetadata(meta);
// Prepare to receive messages with specific MType(s)
_connector.addMessageHandler(new AbstractMessageHandler(MESSAGE_TYPES) {
public Map processCall(HubConnection c, final String senderId, final Message msg) {
try {
// This method is not called in the event processing thread, so invoke later
SwingUtilities.invokeLater(new Runnable() {
public void run() {