Package org.jcsp.lang

Interface ChannelAccept

    • Method Detail

      • accept

        int accept​(CSProcess server)
        This is invoked by a server when it commits to accepting a CALL from a client. The parameter supplied must be a reference to this server - see the example from One2OneCallChannel. It will not complete until a CALL has been made. If the derived CALL channel has set the selected field in the way defined by the standard calling sequence, the value returned by this method will indicate which method was called.
        Parameters:
        server - the server process receiving the CALL.