You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to bind only as Transmitter or Receiver? I know it is possible to bind using separate connections by using version 3.4 but that way it creates two separate connections at the same time. In my case I have two separate hosts for transmitter and receiver. In order to handle this I extended SmppClass like this, which forced me to change some fields to protected:
public class PJSmppClient : SmppClient
{
private ClientType type;
public PJSmppClient(ClientType type) : base()
{
this.type = type;
}
protected override void OpenSession(SessionBindInfo bindInfo, bool useSeparateConnections, int timeOut)
{
ChangeState(SmppConnectionState.Connecting);
if (type == ClientType.Receiver)
{
//
}
else
{
//
}
ChangeState(SmppConnectionState.Connected);
}
}
public enum ClientType
{
Transmitter,
Receiver
}
The text was updated successfully, but these errors were encountered:
Hello Adham,
Is it possible to bind only as Transmitter or Receiver? I know it is possible to bind using separate connections by using version 3.4 but that way it creates two separate connections at the same time. In my case I have two separate hosts for transmitter and receiver. In order to handle this I extended
SmppClass
like this, which forced me to change some fields toprotected
:The text was updated successfully, but these errors were encountered: