receiveWait
Purpose
This method does a read from the input stream and returns the whole input data. The data is NOT translated and is in its wire form. If the timeout value is zero, then this method will wait until data is present or the connection is terminated. If the timeout value is not zero, then an exception is thrown if data is not received from the Substation ES in the specified number of milliseconds.
Return
This method returns byte[] object which is the wire data received. If a NULL response is returned, it means no data was received and needs to be checked.
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.