The following are the available methods exposed by the REMSolListener class.
ClearSolBuffer
Clears the SOLOutput string to empty string value. This function should be used to clear the output buffer before sending a new message over the SOL communication channel.
Parameters
This method does not have any input parameters.
Return Values
This method does not have a return value.
Listen
Watches the SOL output buffer for a complete Remote Encryption Management WS-MAN formatted response. All complete response messages sent over the SOL communication channel will end with the sub-string “</s:Envelope>”. This functionality is executed on a timed worker thread that will timeout after time specified in input parameters.
|
|
|
The ClearSolBuffer should be called prior to any SOL message being written out. The Listen function does not clear the SOL buffer since the buffer could potentially have valid output data written between the SOL write functionality calling to when the SOL listen functionality is called. Old data in the output buffer could cause erroneous results. |
Parameters
|
Parameter |
Description |
|
int timeout |
Specifies the maximum amount of time in seconds to wait for a complete Remote Encryption Management WS-MAN formatted response. |
|
out string output |
Set with SOL output string buffer value. If timeout occurs this will return an empty string. |
Return Values
This method returns true if a complete message was detected within the timeout period, otherwise false.
|
Copyright © 2006-2012, Intel Corporation. All rights reserved. |