data class to hold facts about connection