this method blocks until a complete packet has been received . when a full packet is available , the method returns . this method would be used as the test in a while loop . concode_field_sep Packet p concode_elem_sep EMWINConnection con concode_elem_sep EMWINValidator v concode_elem_sep Logger log concode_elem_sep EMWINInputStream i concode_elem_sep StringBuffer header concode_elem_sep byte[] body concode_field_sep Packet next concode_elem_sep void setIn concode_elem_sep void scan
boolean function ( ) { p = new Packet ( ) ; scan ( ) ; try { p . setBody ( body ) ; } catch ( Exception loc0 ) { loc0 . printStackTrace ( ) ; return false ; } return p . isPacketValid ( ) ; }