本番環境ではjSMPPを使用しています。このlibの最も良い点は、多くの低レベルのことが舞台裏でdeliver_sm_respも起こることです:-)
enquery_linkandenquery_link_respコマンドは舞台裏でも発生します。また、次のように作成するときに、このコマンドのタイムアウトを構成することもできますSMPPSession。
SMPPSession tmpSession = new SMPPSession();
tmpSession.setTransactionTimer(transactionTimer);
tmpSession.setEnquireLinkTimer(enquireLinkTimer);
tmpSession.addSessionStateListener(new SessionStateListenerImpl());
MessageReceiverListenerImpl mrl = new MessageReceiverListenerImpl();
tmpSession.setMessageReceiverListener(mrl);
tmpSession.connectAndBind(remoteIpAddress, remotePort, bindParam);
transactionTimerとIの値はenquireLinkTimerプロパティファイルに保存されます。
jSMPPはとてもクールなlibで、私はそれが好きです:-)