concept custom interface in category sharePoint

This is an excerpt from Manning's book SharePoint 2010 Web Parts in Action.
This chapter shows how you as a developer can expose the properties to your end users so that they can customize or personalize them. You’ll learn the default Web Part properties; you’ll add your own properties and eventually create a custom interface for interacting with them. Properties can be simple types, such as strings or integers, which SharePoint supports. For advanced types and properties, there’s no out-of-the-box support for editing, which means that you need to implement the logic yourself for those.
You can create custom interfaces for your own providers and consumers or use any of the default connection interfaces. There’s a huge benefit to using the default interfaces because they’re compatible with several of the out-of-the-box Web Parts in SharePoint. (See appendix A for a comprehensive list of Web Parts and their connection interfaces.) In this section, I’ll show you both ways: custom interfaces and the default interfaces.
The first technique you’ll explore is creating a custom connection defined by a custom interface. You use this type of connection when you don’t need to connect your Web Parts with Web Parts from SharePoint or third-party applications. To create a custom connection, you need to