Interface RendezvousClient

All Known Implementing Classes:
CertifiedRendezvousClient, RendezvousClientImp, StandardRendezvousClient

public interface RendezvousClient

Interface to Tibco Rendezvous. Implementations of this class may not be thread safe.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close this instance.
    void
    createConfirmationListener(com.tibco.tibrv.TibrvMsgCallback callback)
    Creates a TibrvListener for confirmation messages, which may be useful for debugging / troubleshooting.
    void
    createMessageListener(com.tibco.tibrv.TibrvMsgCallback callback, String sendSubject)
    Creates a TibrvListener using the passed callback and sendSubject.
    void
    Initialise this instance.
    void
    send(com.tibco.tibrv.TibrvMsg tibrvMsg)
    Sends the passed TibrvMsg.
    void
    Start message delivery.
    void
    Stop message delivery.
  • Method Details

    • createMessageListener

      void createMessageListener(com.tibco.tibrv.TibrvMsgCallback callback, String sendSubject) throws com.tibco.tibrv.TibrvException

      Creates a TibrvListener using the passed callback and sendSubject. Not part of init as only required by client code which consumes messages.

      Parameters:
      callback - the TibrvMsgCallback (some sort of consumer)
      sendSubject - the send subject, conforming to TibcoRendezvous rules
      Throws:
      com.tibco.tibrv.TibrvException - if any occur
    • createConfirmationListener

      void createConfirmationListener(com.tibco.tibrv.TibrvMsgCallback callback) throws com.tibco.tibrv.TibrvException

      Creates a TibrvListener for confirmation messages, which may be useful for debugging / troubleshooting.

      Parameters:
      callback - the TibrvMsgCallback to use
      Throws:
      com.tibco.tibrv.TibrvException - if any occur
    • send

      void send(com.tibco.tibrv.TibrvMsg tibrvMsg) throws com.tibco.tibrv.TibrvException

      Sends the passed TibrvMsg.

      Parameters:
      tibrvMsg - the message to send
      Throws:
      com.tibco.tibrv.TibrvException - if any occur
    • init

      void init() throws com.tibco.tibrv.TibrvException

      Initialise this instance.

      Throws:
      com.tibco.tibrv.TibrvException - if any occur
    • start

      void start() throws com.tibco.tibrv.TibrvException

      Start message delivery.

      Throws:
      com.tibco.tibrv.TibrvException - if any occur
    • stop

      void stop()

      Stop message delivery.

    • close

      void close()

      Close this instance.