send


Description:

public void send (int value)

Sends a value into the channel. For buffered channels, blocks if the buffer is full. For unbuffered channels, blocks until a receiver calls receive (strict rendezvous: only one sender in flight at a time). Logs a warning and returns if the channel is closed.

Parameters:

value

the value to send.