Attaching DOFConnectionReconnectingListener

Once created, the implementation of the DOFConnectionReconnectingListener needs to be added to the connection. Here we attach the DOFConnectionReconnectingListener.

How It Works

TheDOFConnectionReconnectingListener only needs to be created once and can be added to any number of connections.