Page History
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
private void handleBridgeCallBacks(NAPMessage napMessage) {
switch (napMessage.getEvent().getNAPEventType()) {
case PatientOpen:
sendCurrentPatient(txfCPR.getText(), napMessage.getDate(), napMessage.getId());
break;
// ONLY Sent by NAP Lobby and Nap Test WEB
case WebAppSelected:
handleWebAppSelected(napMessage);
// ONLY Sent by NAP Lobby and Nap Test WEB
break;
case ProjectsRetrieved:
filterProjectsRetrievedAndSendMessage(napMessage);
break;
case SessionClose:
handleSessionClose(napMessage);
break;
case SessionError:
handleSessionError(napMessage);
break;
default:
System.err.println("Unexpected event type: " + napMessage.getEvent().getNAPEventType());
}
} |
...