Class IndividualCallActionManager


  • public abstract class IndividualCallActionManager
    extends AbstractCallActionManager
    SendActionManager which uses the Asynchronous Call/Response delivery pattern, but allows a "broadcast" to send different message objects to different recipients. Multiple targetted sends rather than an actual SAMP broadcast may be used to achieve this. Concrete subclasses need only implement the createMessage(org.astrogrid.samp.Client) method. They may also wish to to customise the returned Send and Broadcast Action objects (for instance give them useful names and descriptions).
    Since:
    3 Dec 2008
    Author:
    Mark Taylor
    • Field Detail

      • parent_

        private final java.awt.Component parent_
    • Constructor Detail

      • IndividualCallActionManager

        public IndividualCallActionManager​(java.awt.Component parent,
                                           GuiHubConnector connector,
                                           javax.swing.ListModel clientListModel)
        Constructor.
        Parameters:
        parent - parent component
        connector - hub connector
        clientListModel - list model containing only those clients which are suitable recipients; all elements must be Clients