java - How to create a pool of connection in jsmpp? -


i want maintain pool jsmpp connection in order send sms. according requirement need define min , max connection, current jsmpp library allow create single connection.

/**  * default constructor of {@link smppsession}. next action might  * connect , bind destination message center.  *   * @see #connectandbind(string, int, bindtype, string, string, string, typeofnumber, numberingplanindicator, string)  */ public smppsession() {     this(new synchronizedpdusender(new defaultpdusender(new defaultcomposer())),              new defaultpdureader(),              socketconnectionfactory.getinstance()); } 

how can extend jsmpp library pool of connection.

thanks


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -