All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.datakernel.csp.dsl.WithBinaryChannelInput Maven / Gradle / Ivy

Go to download

Communicating sequential process via channels, similar to Golang's channels. A channel could be imagine as a pipe which connects some processes.

The newest version!
package io.datakernel.csp.dsl;

import io.datakernel.bytebuf.ByteBuf;
import io.datakernel.csp.binary.BinaryChannelSupplier;

public interface WithBinaryChannelInput extends WithChannelInput, HasBinaryChannelInput {
	@SuppressWarnings("unchecked")
	default B withInput(BinaryChannelSupplier byteBufsInput) {
		getInput().set(byteBufsInput);
		return (B) this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy