In generic NED constructor I need to call setConnectionData() based on the capabilities in hello message from device, java doc has:
public void setConnectionData(NedCapability[] capas,
NedCapability[] statscapas,
boolean wantRevertDiff,
NedWorker.TransactionIdMode transMode)
This function is used to set the parameters of NedConnection for a specific NED.
Parameters: capas - an array of capabilities for config data statscapas - an array of capabilities for stats data
I don't know how to tell which capability in the hello message is for config data and which is for state data, wonder how netconf NED does it.