Class structure for the transport layer