Interface Generic2Switchboard


public interface Generic2Switchboard
The additional methods used to communicate between a Generic Adapter and a Switchboard. The methods for communicating with any other source of information will also be needed. The Generic adapter should be configured to know the name of the service is is being used for (e.g. the URI) and also the communications mechanism to use e.g. HTTP at port 7778.
Since:
06-Sep-2021 15:59:45
Version:
1.0
Author:
David
  • Field Details

    • m_CommunicationGToG

      static final CommunicationGToG m_CommunicationGToG
      Internal value of the Communication method between Generic to Generic
    • m_GenericAdapter

      static final GenericAdapter m_GenericAdapter
      Internal value for the Generic Adapter
  • Method Details

    • findInfoSource

      CommunicationGToG findInfoSource​(String source)
      Find the Communication mechanism to communicate with named source.
      Parameters:
      source - The source being searched for.
      Returns:
      The Communication mechanism to use.
    • registerMe

      void registerMe​(char[] myName, CommunicationGToG myComms)
      Parameters:
      myName - The name of the thing being registered.
      myComms - Details of the COmmunication method to use.