Interface StreamFactory

All Known Implementing Classes:
AsynchronousSocketChannelStreamFactory, NettyStreamFactory, SocketStreamFactory

public interface StreamFactory
A factory for streams.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    create(ServerAddress serverAddress)
    Create a Stream to the given address
  • Method Details

    • create

      Stream create(ServerAddress serverAddress)
      Create a Stream to the given address
      Parameters:
      serverAddress - the address
      Returns:
      the stream