public static void test1_Net_AllDataType() { AllDataTypeInputMessage inObj = new AllDataTypeInputMessage(); inObj.commonBody.mailboxID = CommonStaticFinal.SERVER_MAILBOX_ID; inObj.commonBody.mailID = Integer.MIN_VALUE; inObj.commonBody.pageNo = 1; inObj.commonBody.totalPages = 1; inObj.byteVar1 = Byte.MAX_VALUE; inObj.byteVar2 = Byte.MIN_VALUE; inObj.byteVar3 = (byte) 0x60; // 중간 생략 log.info("AllDataType InputMessage[%s]", inObj.toString()); AbstractConnectionPool sinnoriConnectionPool = SinnoriClientManager.getInstance().getConnectionPool("sinnori"); try { LetterListFromServer letterList = sinnoriConnectionPool.sendInputMessage(inObj); if (null == letterList) { log.warning("SingleConnection LinkedBlockingQueue InterruptedException"); return; } AbstractOutputMessage outObj = letterList.nextElement(); log.info("OutputMessage[%s]", outObj.toString()); } catch (NoSuchElementException e) { e.printStackTrace(); } catch (SocketTimeoutException e) { e.printStackTrace(); } catch (ServerNotReadyException e) { e.printStackTrace(); } catch (DynamicClassCallException e) { e.printStackTrace(); } catch (NotEnoughBodyBufferException e) { e.printStackTrace(); } catch (BodyFormatException e) { e.printStackTrace(); } }