Class GatewayClientTransports
- java.lang.Object
-
- io.scalecube.services.gateway.transport.GatewayClientTransports
-
public class GatewayClientTransports extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static GatewayClientCodec<io.netty.buffer.ByteBuf>HTTP_CLIENT_CODECstatic GatewayClientCodec<io.rsocket.Payload>RSOCKET_CLIENT_CODECstatic GatewayClientCodec<io.netty.buffer.ByteBuf>WEBSOCKET_CLIENT_CODEC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.scalecube.services.transport.api.ClientTransporthttpGatewayClientTransport(GatewayClientSettings cs)ClientTransport that is capable of communicating with Gateway over http.static io.scalecube.services.transport.api.ClientTransportrsocketGatewayClientTransport(GatewayClientSettings cs)ClientTransport that is capable of communicating with Gateway over rSocket.static io.scalecube.services.transport.api.ClientTransportwebsocketGatewayClientTransport(GatewayClientSettings cs)ClientTransport that is capable of communicating with Gateway over websocket.
-
-
-
Field Detail
-
WEBSOCKET_CLIENT_CODEC
public static final GatewayClientCodec<io.netty.buffer.ByteBuf> WEBSOCKET_CLIENT_CODEC
-
RSOCKET_CLIENT_CODEC
public static final GatewayClientCodec<io.rsocket.Payload> RSOCKET_CLIENT_CODEC
-
HTTP_CLIENT_CODEC
public static final GatewayClientCodec<io.netty.buffer.ByteBuf> HTTP_CLIENT_CODEC
-
-
Method Detail
-
rsocketGatewayClientTransport
public static io.scalecube.services.transport.api.ClientTransport rsocketGatewayClientTransport(GatewayClientSettings cs)
ClientTransport that is capable of communicating with Gateway over rSocket.- Parameters:
cs- client settings for gateway client transport- Returns:
- client transport
-
websocketGatewayClientTransport
public static io.scalecube.services.transport.api.ClientTransport websocketGatewayClientTransport(GatewayClientSettings cs)
ClientTransport that is capable of communicating with Gateway over websocket.- Parameters:
cs- client settings for gateway client transport- Returns:
- client transport
-
httpGatewayClientTransport
public static io.scalecube.services.transport.api.ClientTransport httpGatewayClientTransport(GatewayClientSettings cs)
ClientTransport that is capable of communicating with Gateway over http.- Parameters:
cs- client settings for gateway client transport- Returns:
- client transport
-
-