3.2.4.3.10 Tidy (Opnum 24)

The Tidy method is received by the server in an RPC_REQUEST packet. In response, the server SHOULD perform implementation-specific tasks to release unused resources of the represented QueueManager.

 HRESULT Tidy();

This method has no parameters.

Return Values: The method MUST return S_OK (0x00000000) to indicate success or an implementation-specific error HRESULT on failure.<19>

When the server processes this call, it MUST follow these guidelines:

  • If the ComputerName instance variable is NULL:

    • The local QueueManager SHOULD perform implementation-specific tasks to release unused resources.

  • Else:

    • The server MUST generate a QMMgmt Action event with the following inputs:

      • iAction = "TIDY"

    • The server MUST return rStatus, and MUST take no further action.