Interface SocketFactory

  • All Implemented Interfaces:

    
    public interface SocketFactory
    
                        

    Factory to establish a socket connection to a home power plant

    Since:

    2.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Socket createSocket(E3DCConnectionData connectionData) Creates a new socket connection to the home power plant specified in connectionData.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createSocket

         abstract Socket createSocket(E3DCConnectionData connectionData)

        Creates a new socket connection to the home power plant specified in connectionData.

        Parameters:
        connectionData - Connection data of the home power plant
        Returns:

        Socket connection to the home power plant

        Since:

        2.0