Class TransceiverFactory
java.lang.Object
uk.ac.manchester.spinnaker.alloc.bmp.TransceiverFactory
- All Implemented Interfaces:
- TransceiverFactoryAPI<BMPTransceiverInterface>
@Service("transceiverFactory")
public class TransceiverFactory
extends Object
implements TransceiverFactoryAPI<BMPTransceiverInterface>
Creates transceivers for talking to the BMPs of machines. Note that each
 machine only has the one BMP that is talked to, and only ever one transceiver
 that is used to do it.
 
 Can support running with a dummy transceiver (but not in production, of
 course). Set the spalloc.transceiver.dummy configuration value to
 true to enable that.
- Author:
- Donal Fellows
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetTransciever(SpallocAPI.Machine machineDescription, uk.ac.manchester.spinnaker.machine.board.BMPCoords bmp) Get the transceiver for talking to a given machine's BMPs.
- 
Constructor Details- 
TransceiverFactorypublic TransceiverFactory()
 
- 
- 
Method Details- 
getTranscieverpublic BMPTransceiverInterface getTransciever(SpallocAPI.Machine machineDescription, uk.ac.manchester.spinnaker.machine.board.BMPCoords bmp) throws IOException, SpinnmanException, InterruptedException Description copied from interface:TransceiverFactoryAPIGet the transceiver for talking to a given machine's BMPs.- Specified by:
- getTranscieverin interface- TransceiverFactoryAPI<BMPTransceiverInterface>
- Parameters:
- machineDescription- The machine we're talking about.
- bmp- Which BMP on the machine are we talking to.
- Returns:
- The transceiver. Only operations relating to BMPs are required to be supported.
- Throws:
- IOException- If low-level things go wrong.
- SpinnmanException- If the transceiver can't be built.
- InterruptedException- If the communications were interrupted.
 
 
-