Class DdeService

java.lang.Object
cl.obcom.desktopfx.dde.DdeService

public final class DdeService extends Object
Implements the application level defined by the DDE protocol.
  • Constructor Details

    • DdeService

      public DdeService(Object owner)
      Constructs a new DdeService instance.
      Parameters:
      owner - the owner of this DDE service.
      Throws:
      NullPointerException - if owner is null.
  • Method Details

    • getName

      public String getName()
      Returns the name of this DDE Service.
      Returns:
      the name of this DDE Service.
    • createTopic

      public DdeTopic createTopic(String topicName) throws Exception
      Creates and returns a new DDE Topic with supplied name.
      Parameters:
      topicName - the name of the new DDE topic.
      Returns:
      the new DDE topic with specified topicName.
      Throws:
      NullPointerException - if topicName is null.
      Exception - if another error occurs.
    • start

      public void start()
      Starts the execution of the DDE Thread.
    • stop

      public void stop()
      Stops the execution of the DDE Thread.