|
| 1 | +/** |
| 2 | + * Copyright 2016 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 | + */ |
1 | 16 | package io.reactivesocket.aeron.client; |
2 | 17 |
|
3 | 18 | import io.reactivesocket.ConnectionSetupPayload; |
4 | 19 | import io.reactivesocket.DefaultReactiveSocket; |
5 | 20 | import io.reactivesocket.ReactiveSocket; |
6 | 21 | import io.reactivesocket.ReactiveSocketFactory; |
7 | | -import io.reactivesocket.ReactiveSocketSocketAddressFactory; |
8 | 22 | import io.reactivesocket.rx.Completable; |
9 | 23 | import org.agrona.LangUtil; |
10 | 24 | import org.reactivestreams.Publisher; |
|
26 | 40 | /** |
27 | 41 | * An implementation of {@link ReactiveSocketFactory} that creates Aeron ReactiveSockets. |
28 | 42 | */ |
29 | | -public class AeronReactiveSocketFactory implements ReactiveSocketSocketAddressFactory<ReactiveSocket> { |
| 43 | +public class AeronReactiveSocketFactory implements ReactiveSocketFactory<SocketAddress, ReactiveSocket> { |
30 | 44 | private static final Logger logger = LoggerFactory.getLogger(AeronReactiveSocketFactory.class); |
31 | 45 |
|
32 | 46 | private final ConnectionSetupPayload connectionSetupPayload; |
|
0 commit comments