public AnSmppClient(string hostName, int port, IAnBind anBind) { this.hostName = hostName; this.port = port; this.anBind = anBind; client = new SmppClient(); }
public static Bind NewBind(this IAnBind bind) { return(new Bind { SystemId = bind.SystemId, Password = bind.Password }); }
protected virtual void OnDispose(bool disposing) { if (disposed) { return; } if (disposing) { anBind = null; client.Dispose(); } disposed = true; }
public ConcreteClient(IAnBind bind) : base("1.1.100.10", 2775, bind) { }