Exemplo n.º 1
0
 public InternalCleanRequestFast(InternalRequestType type, IntegerPageAddress targetPageAddress, bool isEmergency, bool isFast)
     : base(type, targetPageAddress, isEmergency, isFast)
 {
     InternalWriteRequestList = new InternalWriteRequestLinkedList();
     this.IsEmergency         = isEmergency;
     this.IsFast = isFast;
 }
 public InternalCleanRequest(InternalRequestType type, uint rowID, uint flashChipID, uint dieID, uint planeID, uint blockID, uint pageID, uint overallFlashChipID,
                             bool isEmergency, bool isFast)
     : base(type, 0, 0, 0, rowID, flashChipID, dieID, planeID, blockID, pageID, overallFlashChipID)
 {
     this.IsEmergency = isEmergency;
     this.IsFast      = isFast;
 }
Exemplo n.º 3
0
 public InternalRequest(InternalRequestType type, uint sizeInSubpages, uint sizeInByte, uint bodyTransferCycles, IntegerPageAddress targetPageAddress)
 {
     this.Type                            = type;
     this.SizeInSubpages                  = sizeInSubpages;
     this.SizeInByte                      = sizeInByte;
     this.BodyTransferCycles              = bodyTransferCycles;
     TargetPageAddress.ChannelID          = targetPageAddress.ChannelID;
     TargetPageAddress.LocalFlashChipID   = targetPageAddress.LocalFlashChipID;
     TargetPageAddress.DieID              = targetPageAddress.DieID;
     TargetPageAddress.PlaneID            = targetPageAddress.PlaneID;
     TargetPageAddress.BlockID            = targetPageAddress.BlockID;
     TargetPageAddress.PageID             = targetPageAddress.PageID;
     TargetPageAddress.OverallFlashChipID = targetPageAddress.OverallFlashChipID;
 }
Exemplo n.º 4
0
 public InternalRequest(InternalRequestType type, uint sizeInSubpages, uint sizeInByte, uint bodyTransferCycles,
                        uint ChannelID, uint localFlashChipID, uint dieID, uint planeID, uint blockID, uint pageID, uint overallFlashChipID)
 {
     this.Type                            = type;
     this.SizeInSubpages                  = sizeInSubpages;
     this.SizeInByte                      = sizeInByte;
     this.BodyTransferCycles              = bodyTransferCycles;
     TargetPageAddress.ChannelID          = ChannelID;
     TargetPageAddress.LocalFlashChipID   = localFlashChipID;
     TargetPageAddress.DieID              = dieID;
     TargetPageAddress.PlaneID            = planeID;
     TargetPageAddress.BlockID            = blockID;
     TargetPageAddress.PageID             = pageID;
     TargetPageAddress.OverallFlashChipID = overallFlashChipID;
 }
Exemplo n.º 5
0
 public InternalRequest(InternalRequestType type) : base(BaseHttpRequestType.Internal_Control)
 {
     CommondType = type;
 }
 internal Request __createInternalRequest(InternalRequestType type)
 {
     return new Request(this, PendingInternalRequests.GetFreeID()) { isInternal = true, Type = (short)type };
 }
Exemplo n.º 7
0
 /*
  * This is for creating command in the http client
  */
 public void AppendCmdParam(InternalRequestType requestType)
 {
     this.request = new InternalRequest(requestType);
 }
Exemplo n.º 8
0
 internal bool __removeInternalRequestHandler(InternalRequestType requestType)
 {
     return InternalRequestHandlers.Remove((short)requestType);
 }
Exemplo n.º 9
0
 internal void __addInternalRequestHandler(InternalRequestType requestType, ClientEventHandler<RequestReceivedEventArgs> handler)
 {
     InternalRequestHandlers.Add((short)requestType, handler);
 }
Exemplo n.º 10
0
 internal bool __containsInternalRequestHandler(InternalRequestType requestType)
 {
     return InternalRequestHandlers.ContainsKey((short)requestType);
 }
Exemplo n.º 11
0
 public InternalCleanRequest(InternalRequestType type, IntegerPageAddress targetPageAddress, bool isEmergency, bool isFast, InternalRequestExecutionType execType)
     : this(type, targetPageAddress, isEmergency, isFast)
 {
     this.ExecutionType = execType;
 }
Exemplo n.º 12
0
 public SockInternalRequest(InternalRequestType type) : base(BaseSocketRequestType.Internal_Control)
 {
     CommondType = type;
 }