what does the OnConnectedToMaster() do?

Options
I am wondering what does this method do : OnConnectedToMaster()