fizzed / cloudhopper-smpp

Efficient, scalable, and flexible Java implementation of the Short Messaging Peer to Peer Protocol (SMPP)
Other
291 stars 132 forks source link

Adding user control of the local bind address? #20

Open cristan2 opened 6 years ago

cristan2 commented 6 years ago

We're using DefaultSmppClient to bind to SMSCs. However, we also need to specify the local interface used when creating a session. The Netty bootstrap client used for creating a channel to the remote host has the option to use a specific local address, if one is provided, but this cannot be used currently because clientBootstrap is a private member of DefaultSmppClient.

Would it be possible for you to provide a way for users to set the local bind addresses, in addition to the remote host?

Thanks.