Package info.oais.interfaces.oaisif
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 Summary
Fields Modifier and Type Field Description static CommunicationGToG
m_CommunicationGToG
Internal value of the Communication method between Generic to Genericstatic GenericAdapter
m_GenericAdapter
Internal value for the Generic Adapter -
Method Summary
Modifier and Type Method Description CommunicationGToG
findInfoSource(String source)
Find the Communication mechanism to communicate with named source.void
registerMe(char[] myName, CommunicationGToG myComms)
-
Field Details
-
m_CommunicationGToG
Internal value of the Communication method between Generic to Generic -
m_GenericAdapter
Internal value for the Generic Adapter
-
-
Method Details
-
findInfoSource
Find the Communication mechanism to communicate with named source.- Parameters:
source
- The source being searched for.- Returns:
- The Communication mechanism to use.
-
registerMe
- Parameters:
myName
- The name of the thing being registered.myComms
- Details of the COmmunication method to use.
-