Package org.jcsp.net

Interface NetConnectionFactory

  • All Known Implementing Classes:
    StandardNetConnectionFactory

    public interface NetConnectionFactory

    This class should be implemented by classes wishing to act as factories for creating Networked ConnectionServer and ConnectionClient objects.

    An implementation is provided, see StandardNetConnectionFactory.

    • Method Detail

      • createNet2One

        NetAltingConnectionServer createNet2One()

        Constructs a NetAltingConnectionServer object.

        Returns:
        the constructed NetAltingConnectionServer object.
      • createNet2Any

        NetSharedConnectionServer createNet2Any()

        Constructs a NetSharedConnectionServer object.

        Returns:
        the constructed NetSharedConnectionServer object.