impl gstream state