示例#1
0
            public Mailbox(PostOffice postOffice, Runtime.Progress.ProgressUpdateConsumer consumer, int id, int shardId, int numProducers)
            {
                this.postOffice = postOffice;
                this.consumer   = consumer;
                this.graphid    = this.consumer.Stage.InternalGraphManager.Index;

                this.id      = id;
                this.shardId = shardId;

                this.nextSequenceNumbers = new int[numProducers];
            }
示例#2
0
            public Mailbox(PostOffice postOffice, Runtime.Progress.ProgressUpdateConsumer consumer, int id, int vertexId, int numProducers)
            {
                this.postOffice = postOffice;
                this.consumer   = consumer;
                this.graphid    = this.consumer.Stage.InternalComputation.Index;

                this.id       = id;
                this.vertexId = vertexId;

                this.nextSequenceNumbers = new int[numProducers];

                this.decoder = new AutoSerializedMessageDecoder <Update, Empty>(consumer.SerializationFormat);
            }