cfa.vo.iris.interop
Class SedSAMPController

java.lang.Object
  extended by org.astrogrid.samp.client.HubConnector
      extended by org.astrogrid.samp.gui.GuiHubConnector
          extended by cfa.vo.interop.SAMPController
              extended by cfa.vo.iris.interop.SedSAMPController

public class SedSAMPController
extends cfa.vo.interop.SAMPController

Extension of SAMPController that can handle SedMessages.

Author:
olaurino

Constructor Summary
SedSAMPController(String name, String description, String iconUrl)
          This constructor just calls the parent constructor.
 
Method Summary
 void sendSedMessage(ExtSed sed)
          This convenience method, when provided with a ExtSed instance, builds a new SedMessage, creates a new resource to be served by the internal HTTPServer and sends the SedMessage to the hub.
 
Methods inherited from class cfa.vo.interop.SAMPController
addConnectionListener, addMessageHandler, addResource, isAutoRunHub, removeConnectionListener, removeMessageHandler, removeResource, sendMessage, sendMessage, setAutoRunHub, start, start, startWithResourceServer, stop
 
Methods inherited from class org.astrogrid.samp.gui.GuiHubConnector
addConnectionListener, connectionChanged, createClientBox, createClientListCellRenderer, createConnectionIndicator, createConnectionIndicator, createHubAction, createMonitorPanel, createRegisterAction, createRegisterOrHubAction, createShowMonitorAction, createToggleRegisterAction, createUnregisterAction, getClientListModel, removeConnectionListener
 
Methods inherited from class org.astrogrid.samp.client.HubConnector
addResponseHandler, call, callAll, callAndWait, computeSubscriptions, configureConnection, createConnection, createTag, declareMetadata, declareSubscriptions, disconnect, getClientMap, getClientSet, getConnection, getMetadata, getSubscriptions, isConnected, removeResponseHandler, setActive, setAutoconnect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SedSAMPController

public SedSAMPController(String name,
                         String description,
                         String iconUrl)
This constructor just calls the parent constructor.

Parameters:
name -
description -
iconUrl -
Method Detail

sendSedMessage

public void sendSedMessage(ExtSed sed)
                    throws org.astrogrid.samp.client.SampException
This convenience method, when provided with a ExtSed instance, builds a new SedMessage, creates a new resource to be served by the internal HTTPServer and sends the SedMessage to the hub.

Parameters:
sed -
Throws:
org.astrogrid.samp.client.SampException


Copyright © 2013. All rights reserved.