public class HookupBoard extends java.lang.Object implements Marketplace
Modifier and Type | Field and Description |
---|---|
(package private) java.util.HashMap<java.lang.String,ProducerConsumerBoard> |
boards |
(package private) static HookupBoard |
globalBoard |
(package private) java.lang.String |
id |
(package private) static int |
nextBoardNo |
Constructor and Description |
---|
HookupBoard() |
Modifier and Type | Method and Description |
---|---|
void |
addConsumer(java.lang.String modality,
Consumer c,
java.lang.String flavor) |
void |
addProducer(java.lang.String modality,
Producer p,
java.lang.String flavor) |
void |
addProvider(java.lang.String modality,
Provider p,
java.lang.String flavor) |
void |
addReceiver(java.lang.String modality,
Receiver rec,
java.lang.String flavor) |
void |
addSupplier(java.lang.String modality,
Supplier sup) |
void |
addViewer(java.lang.String modality,
Viewer vwr,
java.lang.String flavor) |
void |
addVisible(java.lang.String modality,
Visible vbl,
java.lang.String flavor) |
private ProducerConsumerBoard |
getPCBoard(java.lang.String modality) |
Marketplace |
global() |
void |
logUnresolved() |
private ProducerConsumerBoard |
makePCBoard(java.lang.String modality) |
java.lang.String |
toString() |
static HookupBoard globalBoard
static int nextBoardNo
java.lang.String id
java.util.HashMap<java.lang.String,ProducerConsumerBoard> boards
public java.lang.String toString()
toString
in class java.lang.Object
public Marketplace global()
global
in interface Marketplace
public void addProducer(java.lang.String modality, Producer p, java.lang.String flavor)
addProducer
in interface Marketplace
public void addConsumer(java.lang.String modality, Consumer c, java.lang.String flavor)
addConsumer
in interface Marketplace
public void addProvider(java.lang.String modality, Provider p, java.lang.String flavor)
addProvider
in interface Marketplace
public void addReceiver(java.lang.String modality, Receiver rec, java.lang.String flavor)
addReceiver
in interface Marketplace
public void addSupplier(java.lang.String modality, Supplier sup)
addSupplier
in interface Marketplace
public void addVisible(java.lang.String modality, Visible vbl, java.lang.String flavor)
addVisible
in interface Marketplace
public void addViewer(java.lang.String modality, Viewer vwr, java.lang.String flavor)
addViewer
in interface Marketplace
private ProducerConsumerBoard getPCBoard(java.lang.String modality)
private ProducerConsumerBoard makePCBoard(java.lang.String modality)
public void logUnresolved()
logUnresolved
in interface Marketplace
Copyright © 2013. All Rights Reserved.