Interface ContactInfo<C extends Connection>


  • public interface ContactInfo<C extends Connection>
    The ContactInfo represents the information needed to establish a connection to a (possibly different) process. This is a subset of the PEPt 2.0 connection. Any implemetnation of this interface must define hashCode and equals properly so that it may be used in a Map. It is also recommended that toString() be defined to return a useful summary of the contact info (e.g. address information).
    • Method Detail

      • createConnection

        C createConnection()
                    throws java.io.IOException
        Create a new Connection from this ContactInfo. Throws an IOException if Connection creation fails.
        Returns:
        a new Connection
        Throws:
        java.io.IOException - if creation fails