How It Works
A DOFConnection.ConnectionStateListener is added by calling DOFConnection.addStateListener.