private OperationChannel createOperationChannel(WaveletId waveletId, ParticipantId address) { mux.createOperationChannel(waveletId, address); return muxListener.verifyOperationChannelCreated( DATA_FACTORY.create( new EmptyWaveletSnapshot(WAVE_ID, waveletId, address, HashedVersion.unsigned(0), 1273307837000L /* arbitrary time */)), Accessibility.READ_WRITE); }
private OperationChannel createOperationChannel(WaveletId waveletId, ParticipantId address) { mux.createOperationChannel(waveletId, address); return muxListener.verifyOperationChannelCreated( DATA_FACTORY.create( new EmptyWaveletSnapshot(WAVE_ID, waveletId, address, HashedVersion.unsigned(0), 1273307837000L /* arbitrary time */)), Accessibility.READ_WRITE); }
private ConnectedChannel createOperationChannel(WaveletId waveletId, ParticipantId address) { mux.createOperationChannel(waveletId, address); OperationChannel channel = muxListener.verifyOperationChannelCreated(createSnapshot( WAVELET_ID_1, 0, NOSIG), Accessibility.READ_WRITE); MockOperationChannelListener channelListener = new MockOperationChannelListener(); channel.setListener(channelListener); return new ConnectedChannel(channel, channelListener); }
private ConnectedChannel createOperationChannel(WaveletId waveletId, ParticipantId address) { mux.createOperationChannel(waveletId, address); OperationChannel channel = muxListener.verifyOperationChannelCreated(createSnapshot( WAVELET_ID_1, 0, NOSIG), Accessibility.READ_WRITE); MockOperationChannelListener channelListener = new MockOperationChannelListener(); channel.setListener(channelListener); return new ConnectedChannel(channel, channelListener); }