private PresentationContext pcFor(String cuid, String tsuid) throws NoPresentationContextException { Map<String,PresentationContext> ts2pc = acceptedPCs.get(cuid); if (ts2pc == null) throw new NoPresentationContextException("Abstract Syntax " + UIDDictionary.getDictionary().prompt(cuid) + " not supported"); if (tsuid == null) return ts2pc.values().iterator().next(); PresentationContext pc = ts2pc.get(tsuid); if (pc == null) throw new NoPresentationContextException("Abstract Syntax " + UIDDictionary.getDictionary().prompt(cuid) + " with Transfer Syntax " + UIDDictionary.getDictionary().prompt(tsuid) + " not supported"); return pc; }
if (tc == null) { System.out.println(); System.out.println(UIDDictionary.getDictionary().prompt( info.cuid) + " not supported by " + remoteAE.getAETitle()); if (tsuid == null) { System.out.println(); System.out.println(UIDDictionary.getDictionary().prompt( info.cuid) + " with " + UIDDictionary.getDictionary().prompt( fileref ? DCM4CHEE_URI_REFERENCED_TS_UID : info.tsuid)
if (tc == null) { System.out.println(); System.out.println(UIDDictionary.getDictionary().prompt( info.cuid) + " not supported by " + remoteAE.getAETitle()); if (tsuid == null) { System.out.println(); System.out.println(UIDDictionary.getDictionary().prompt( info.cuid) + " with " + UIDDictionary.getDictionary().prompt( fileref ? DCM4CHEE_URI_REFERENCED_TS_UID : info.tsuid)
.append(NL) .append("\tcuid=") .append(dict.prompt(cmd.getString(Tag.AffectedSOPClassUID))) .append(NL) .append("\tiuid=") .append(NL) .append("\tcuid=") .append(dict.prompt(cmd.getString(Tag.AffectedSOPClassUID))); break; case C_FIND_RQ: .append(NL) .append("\tcuid=") .append(dict.prompt(cmd.getString(Tag.AffectedSOPClassUID))); break; case C_MOVE_RQ: .append(pcid) .append(", aet=") .append(dict.prompt(cmd.getString(Tag.MoveDestination))) .append(", prior=") .append(cmd.getInt(Tag.Priority)) .append(NL) .append("\tcuid=") .append(dict.prompt(cmd.getString(Tag.AffectedSOPClassUID))); break; case C_ECHO_RQ: