Creating interface for sharing data sent.
Adding method to interface configuration(OnDataSend).
Creating set callback(OnDataSend).