File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
main/java/io/rsocket/core
test/java/io/rsocket/core Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
package io .rsocket .core ;
2
2
3
3
import io .rsocket .Payload ;
4
+ import java .util .concurrent .atomic .AtomicIntegerFieldUpdater ;
4
5
import org .reactivestreams .Subscriber ;
5
6
import org .reactivestreams .Subscription ;
6
7
import reactor .core .CorePublisher ;
10
11
import reactor .core .publisher .SignalType ;
11
12
import reactor .util .context .Context ;
12
13
13
- import java .util .concurrent .atomic .AtomicIntegerFieldUpdater ;
14
-
15
14
/**
16
15
* This is a support class for handling of request input, intended for use with {@link
17
16
* Operators#lift}. It ensures serial execution of cancellation vs first request signals and also
Original file line number Diff line number Diff line change 16
16
17
17
package io .rsocket .core ;
18
18
19
+ import static io .rsocket .frame .FrameLengthCodec .FRAME_LENGTH_MASK ;
20
+
19
21
import io .netty .buffer .ByteBuf ;
20
22
import io .netty .buffer .ByteBufAllocator ;
21
23
import io .rsocket .Payload ;
31
33
import io .rsocket .test .util .LocalDuplexConnection ;
32
34
import io .rsocket .util .DefaultPayload ;
33
35
import io .rsocket .util .EmptyPayload ;
36
+ import java .time .Duration ;
37
+ import java .util .List ;
38
+ import java .util .concurrent .CancellationException ;
39
+ import java .util .concurrent .atomic .AtomicReference ;
34
40
import org .assertj .core .api .Assertions ;
35
41
import org .junit .Rule ;
36
42
import org .junit .Test ;
46
52
import reactor .test .StepVerifier ;
47
53
import reactor .test .publisher .TestPublisher ;
48
54
49
- import java .time .Duration ;
50
- import java .util .List ;
51
- import java .util .concurrent .CancellationException ;
52
- import java .util .concurrent .atomic .AtomicReference ;
53
-
54
- import static io .rsocket .frame .FrameLengthCodec .FRAME_LENGTH_MASK ;
55
-
56
55
public class RSocketTest {
57
56
58
57
@ Rule public final SocketRule rule = new SocketRule ();
You can’t perform that action at this time.
0 commit comments