define class NetworkState