func NewNextReaderSourceMax(reader NextReader, max uint32) Sourcer { hcc := stream.NewHardStopChannelCloser() o := stream.NewBaseOut(stream.CHAN_SLACK) nrs := NextReaderSource{hcc, o, reader, max} return &nrs }
func NewInterfaceReaderSource(reader InterfaceReader) Sourcer { nrs := InterfaceReaderSource{stream.NewHardStopChannelCloser(), stream.NewBaseOut(stream.CHAN_SLACK), reader} return nrs }
func NewServer(addr string, highWaterMark int) *Server { zmqsrc := Server{stream.NewHardStopChannelCloser(), stream.NewBaseOut(stream.CHAN_SLACK), addr, highWaterMark, false} return &zmqsrc }
func NewZmqSource(addr string, highWaterMark int) *ZmqSource { zmqsrc := ZmqSource{stream.NewHardStopChannelCloser(), stream.NewBaseOut(stream.CHAN_SLACK), addr, highWaterMark} return &zmqsrc }
func NewUnixgramSource(sockPath string) *UnixgramSource { unixsrc := UnixgramSource{stream.NewHardStopChannelCloser(), stream.NewBaseOut(stream.CHAN_SLACK), sockPath} return &unixsrc }