File tree 3 files changed +36
-5
lines changed
src/main/java/io/reactivesocket
3 files changed +36
-5
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,8 @@ if (project.hasProperty('release.useLastTag')) {
37
37
test {
38
38
testLogging. showStandardStreams = true
39
39
}
40
+
41
+ compileJava {
42
+ sourceCompatibility = 1.8
43
+ targetCompatibility = 1.8
44
+ }
Original file line number Diff line number Diff line change 15
15
*/
16
16
package io .reactivesocket ;
17
17
18
- import java .io .Closeable ;
19
-
20
- import org .reactivestreams .Publisher ;
21
-
22
18
import io .reactivesocket .rx .Completable ;
23
19
import io .reactivesocket .rx .Observable ;
20
+ import org .reactivestreams .Publisher ;
21
+
22
+ import java .io .Closeable ;
24
23
25
24
/**
26
25
* Represents a connection with input/output that the protocol uses.
27
26
*/
28
27
public interface DuplexConnection extends Closeable {
29
- // TODO should we call this 'Connection'? 'SocketConnection'? 'ReactiveSocketConnection'?
30
28
31
29
Observable <Frame > getInput ();
32
30
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright 2015 Netflix, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ package io .reactivesocket .exceptions ;
17
+
18
+ public class TransportException extends Throwable {
19
+ public TransportException (Throwable t ) {
20
+ super (t );
21
+ }
22
+
23
+ @ Override
24
+ public synchronized Throwable fillInStackTrace () {
25
+ return this ;
26
+ }
27
+
28
+ }
You can’t perform that action at this time.
0 commit comments