JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. getHostId Declaration String getHostId(S7RClientSSjToken token). Purpose This method gets HostId value from the previously received data input. This is the value that Substation ES stores in the message. Parameters Parameter Description token The S7RClientSSjToken returned by Connect method. Return The method returns string value of Host Id field. Example S7RClientSSj conn = new S7RClientSSj(); S7RClientSSjToken token = conn.Connect(url, userid, password); byte[] dataIn = conn.receiveWait(token); if (dataIn != null) { String strHost = conn.getHostId(token); } conn.Disconnect(token); Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.