C# Class Microsoft.Protocols.TestSuites.Pccrr.PccrrServerAdapter

This class is used to provide internal function of sending or receiving message on client.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IPccrrServerAdapter
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Méthodes publiques

Méthode Description
Initialize ( ITestSite testSite ) : void

Initialize adapter data and create connection.

Reset ( ) : void

Reset the adapter

SendMsgGetBlkList ( byte sid, BLOCKRANGE blockRang, bool isVersionSupported ) : void

Send message MSG_GETBLKLIST.

SendMsgGetBlks ( byte sid, BLOCKRANGE blockRang, bool isVersionSupported ) : void

Send message MSG_GETBLKS

SendMsgNegoReq ( ) : void

Send message MSG_NEGO_REQ

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed.

Private Methods

Méthode Description
GetProperty ( string propName ) : string

Get the value of property in ptfconfig file.

Method Details

Dispose() protected méthode

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed.
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals false, the method has been called by the /// runtime from inside the finalizer and you should not reference /// other objects. Only unmanaged resources can be disposed. ///
Résultat void

Initialize() public méthode

Initialize adapter data and create connection.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite the test site
Résultat void

Reset() public méthode

Reset the adapter
public Reset ( ) : void
Résultat void

SendMsgGetBlkList() public méthode

Send message MSG_GETBLKLIST.
public SendMsgGetBlkList ( byte sid, BLOCKRANGE blockRang, bool isVersionSupported ) : void
sid byte segment id.
blockRang BLOCKRANGE Block ranges client wants to get.
isVersionSupported bool The version in message is supported by server or not.
Résultat void

SendMsgGetBlks() public méthode

Send message MSG_GETBLKS
public SendMsgGetBlks ( byte sid, BLOCKRANGE blockRang, bool isVersionSupported ) : void
sid byte segment id.
blockRang BLOCKRANGE Block ranges client wants to get
isVersionSupported bool The version in this message is supported in server.
Résultat void

SendMsgNegoReq() public méthode

Send message MSG_NEGO_REQ
public SendMsgNegoReq ( ) : void
Résultat void