C# Class Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.RopBufferHelper

The class provides methods to build the request payload and parse the response payload.
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
BuildRequestBuffer ( ISerializable requestROP, uint insideObjectHandle ) : byte[]

The method creates single ROP request buffer.

BuildRequestBuffer ( List requestROPs, List requestSOHTable ) : byte[]

The method creates ROPs request buffer.

BuildRequestBufferWithoutRop ( ) : byte[]

The method creates a request without ROPs.

ParseResponseBuffer ( byte rgbOut, RPC_HEADER_EXT &rpcHeaderExts, byte &rops, uint &serverHandleObjectsTables ) : void

The method parses response buffer.

RopBufferHelper ( ITestSite testSite ) : System

Initializes a new instance of the RopBufferHelper class.

Method Details

BuildRequestBuffer() public méthode

The method creates single ROP request buffer.
public BuildRequestBuffer ( ISerializable requestROP, uint insideObjectHandle ) : byte[]
requestROP ISerializable ROP request object.
insideObjectHandle uint Server object handle in request.
Résultat byte[]

BuildRequestBuffer() public méthode

The method creates ROPs request buffer.
public BuildRequestBuffer ( List requestROPs, List requestSOHTable ) : byte[]
requestROPs List ROPs in request.
requestSOHTable List Server object handles table.
Résultat byte[]

BuildRequestBufferWithoutRop() public méthode

The method creates a request without ROPs.
public BuildRequestBufferWithoutRop ( ) : byte[]
Résultat byte[]

ParseResponseBuffer() public méthode

The method parses response buffer.
public ParseResponseBuffer ( byte rgbOut, RPC_HEADER_EXT &rpcHeaderExts, byte &rops, uint &serverHandleObjectsTables ) : void
rgbOut byte The ROP response payload.
rpcHeaderExts Microsoft.Protocols.TestSuites.Common.RPC_HEADER_EXT RPC header ext.
rops byte ROPs in response.
serverHandleObjectsTables uint Server handle objects tables
Résultat void

RopBufferHelper() public méthode

Initializes a new instance of the RopBufferHelper class.
public RopBufferHelper ( ITestSite testSite ) : System
testSite ITestSite The instance of ITestSite.
Résultat System