@@ -202,7 +202,7 @@ public void onError(Ack ack) {
202202 }
203203
204204 private void startReds () {
205- fdc3Client .open ("charts-red" , null , new AckListener () {
205+ fdc3Client .open ("fdc3- charts-red" , null , new AckListener () {
206206 @ Override
207207 public void onSuccess (Ack ack ) {
208208 output .setText (String .format ("FDC3 started %b" , ack .isSuccessful ()));
@@ -220,7 +220,7 @@ private void sendTickerToReds() {
220220 JSONObject id = new JSONObject ();
221221 id .put ("ticker" , ticker .toLowerCase ());
222222 context .setId (id );
223- fdc3Client .raiseIntent ("fdc3.ViewChart" , context , "charts-red" , new AsyncCallback <IntentResolution >() {
223+ fdc3Client .raiseIntent ("fdc3.ViewChart" , context , "fdc3- charts-red" , new AsyncCallback <IntentResolution >() {
224224 @ Override
225225 public void onSuccess (IntentResolution result ) {
226226 }
@@ -258,7 +258,7 @@ public void onError(Ack ack) {
258258
259259 private void broadcast () {
260260 String ticker = getTicker ();
261- Context context = new Context ("fdc3.security " , ticker );
261+ Context context = new Context ("fdc3.instrument " , ticker );
262262 JSONObject id = new JSONObject ();
263263 id .put ("ticker" , ticker .toLowerCase ());
264264 context .setId (id );
@@ -331,7 +331,7 @@ public JSONObject onContext(Context result) {
331331 output .setText (String .format ("Received context: %s" , result .toString ()));
332332 return null ;
333333 }
334- });
334+ }, null );
335335 }
336336
337337 private String getTicker () {
0 commit comments