|
|
|
|
@ -21,7 +21,6 @@ import io.rsocket.RSocketFactory
@@ -21,7 +21,6 @@ import io.rsocket.RSocketFactory
|
|
|
|
|
import io.rsocket.frame.decoder.PayloadDecoder |
|
|
|
|
import io.rsocket.transport.netty.server.CloseableChannel |
|
|
|
|
import io.rsocket.transport.netty.server.TcpServerTransport |
|
|
|
|
import kotlinx.coroutines.ExperimentalCoroutinesApi |
|
|
|
|
import kotlinx.coroutines.delay |
|
|
|
|
import kotlinx.coroutines.flow.Flow |
|
|
|
|
import kotlinx.coroutines.flow.flow |
|
|
|
|
@ -49,7 +48,6 @@ import java.time.Duration
@@ -49,7 +48,6 @@ import java.time.Duration
|
|
|
|
|
* @author Sebastien Deleuze |
|
|
|
|
* @author Rossen Stoyanchev |
|
|
|
|
*/ |
|
|
|
|
@ExperimentalCoroutinesApi |
|
|
|
|
class RSocketClientToServerCoroutinesIntegrationTests { |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
@ -105,7 +103,6 @@ class RSocketClientToServerCoroutinesIntegrationTests {
@@ -105,7 +103,6 @@ class RSocketClientToServerCoroutinesIntegrationTests {
|
|
|
|
|
.verify(Duration.ofSeconds(5)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ExperimentalCoroutinesApi |
|
|
|
|
@Controller |
|
|
|
|
class ServerController { |
|
|
|
|
|
|
|
|
|
@ -160,7 +157,6 @@ class RSocketClientToServerCoroutinesIntegrationTests {
@@ -160,7 +157,6 @@ class RSocketClientToServerCoroutinesIntegrationTests {
|
|
|
|
|
@Configuration |
|
|
|
|
open class ServerConfig { |
|
|
|
|
|
|
|
|
|
@ExperimentalCoroutinesApi |
|
|
|
|
@Bean |
|
|
|
|
open fun controller(): ServerController { |
|
|
|
|
return ServerController() |
|
|
|
|
|