private static ReceiveHandler loadReceiveProc(int receiveId) { String name = findProcName(receiveId); if (name != null) { ReceiveHandler h; for (ProcProvider pp : Procs.PROVIDERS) { if ((h = pp.findBinaryReceiveHandler(name)) != null) return h; } } logger.warning("unable to find handler for receive proc: " + name); return null; }
private static SendHandler loadSendProc(int sendId) { String name = findProcName(sendId); if (name != null) { SendHandler h; for (ProcProvider pp : Procs.PROVIDERS) { if ((h = pp.findBinarySendHandler(name)) != null) return h; } } logger.warning("unable to find handler for send proc: " + name); return null; }
private static OutputHandler loadOutputProc(int outputId) { String name = findProcName(outputId); if (name != null) { OutputHandler h; for (ProcProvider pp : Procs.PROVIDERS) { if ((h = pp.findTextOutputHandler(name)) != null) return h; } } // logger.warning("unable to find handler for output proc: " + name); return null; }