Esempio n. 1
0
 public AsyncResultAfterAllRequests(HWireClient wire, long messageId, BAsyncResultIF <BMessage> asyncResult, int nbOfRequests)
 {
     this.wire                   = wire;
     this.messageId              = messageId;
     this.innerResult            = asyncResult;
     this.nbOfOutstandingResults = this.nbOfResults = nbOfRequests;
 }
Esempio n. 2
0
 public RequestToCancel(HWireClient wire,
                        ERequestDirection requestDirection,
                        long messageId,
                        ByteBuffer buf,
                        BContentStream stream,
                        long streamId,
                        long cancelMessageId,
                        int timeoutMillisClient,
                        int timeoutMillisRequest,
                        BAsyncResultIF <BMessage> asyncResult)
 {
     this.wire             = wire;
     this.requestDirection = requestDirection;
     this.messageId        = messageId;
     this.streamId         = streamId;
     this.buf                  = buf;
     this.stream               = stream;
     this.cancelMessageId      = cancelMessageId;
     this.timeoutMillisClient  = timeoutMillisClient;
     this.timeoutMillisRequest = timeoutMillisRequest;
     this.asyncResult          = asyncResult;
     this.id = Interlocked.Increment(ref requestCounter);
 }
Esempio n. 3
0
 public MyInputStream(HWireClient wire, BTargetId targetId)
     : base(targetId)
 {
     this.wire = wire;
 }
Esempio n. 4
0
 public HTestAdapter(HWireClient wire)
 {
     this.wire = wire;
 }