Closed kaoh closed 2 years ago
Hi Karsten, I have some remarks: The ProtocolIdentifier(ProtocolIdentifierGroup protocolIdentifierGroup, TelematicInterworkingIndicator telematicInterworkingIndicator, TelematicDevice telematicDevice) is only valid for ProtocolIdentifierGroup#_00 but the user could still call it with another group. Same for ProtocolIdentifier(ProtocolIdentifierGroup protocolIdentifierGroup, ProtocolMessageType protocolMessageType). There are not getters to get the info on a parsed ProtocolIdentifier. Maybe subclasses make it more distinct between the different usages or a fluent contructor ? I can merge it and then improve it or do you want to improve it ?
Hi, feel free to adjust it to your needs.
I added beans to simplify to create the protocol identifier. It would be nice if the
SMPPSession
methods could use this as typesafe argument, but this would mean that this change is not API compatible.