public AsyncTransmitterBatch(int maxBatchSize, Type endpointType, string propertyNamespace, IPropertyBag handlerPropertyBag, IBTTransportProxy transportProxy, AsyncTransmitter asyncTransmitter)
        {
            this.maxBatchSize = maxBatchSize;
            this.endpointType = endpointType;
            this.propertyNamespace = propertyNamespace;
            this.handlerPropertyBag = handlerPropertyBag;
            this.transportProxy = transportProxy;
            this.asyncTransmitter = asyncTransmitter;

            this.messages = new ArrayList();

            // this.worker = new WorkerDelegate(Worker);
        }
 public AsyncTransmitterEndpoint(AsyncTransmitter transmitter) { }