Skip navigation links
A B C D F H I J L M P Q R S T W 

A

address() - Method in interface io.scalecube.cluster.transport.api.Transport
Returns local Address on which current instance of transport listens for incoming messages.

B

build() - Method in class io.scalecube.cluster.transport.api.Message.Builder
 
builder() - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates new empty message builder.

C

clone() - Method in class io.scalecube.cluster.transport.api.TransportConfig
 
connectTimeout() - Method in class io.scalecube.cluster.transport.api.TransportConfig
 
connectTimeout(int) - Method in class io.scalecube.cluster.transport.api.TransportConfig
Sets a connectTimeout.
correlationId(String) - Method in class io.scalecube.cluster.transport.api.Message.Builder
 
correlationId() - Method in class io.scalecube.cluster.transport.api.Message
Returns message correlation id.

D

data(Object) - Method in class io.scalecube.cluster.transport.api.Message.Builder
 
data() - Method in class io.scalecube.cluster.transport.api.Message
Return the message data, which can be byte array, string or any type.
DEFAULT_CONNECT_TIMEOUT - Static variable in class io.scalecube.cluster.transport.api.TransportConfig
 
DEFAULT_LOCAL_CONNECT_TIMEOUT - Static variable in class io.scalecube.cluster.transport.api.TransportConfig
 
DEFAULT_WAN_CONNECT_TIMEOUT - Static variable in class io.scalecube.cluster.transport.api.TransportConfig
 
defaultConfig() - Static method in class io.scalecube.cluster.transport.api.TransportConfig
 
defaultLanConfig() - Static method in class io.scalecube.cluster.transport.api.TransportConfig
Creates ClusterConfig with default settings for cluster on LAN network.
defaultLocalConfig() - Static method in class io.scalecube.cluster.transport.api.TransportConfig
Creates MembershipConfig with default settings for cluster on local loopback interface.
defaultWanConfig() - Static method in class io.scalecube.cluster.transport.api.TransportConfig
Creates ClusterConfig with default settings for cluster on WAN network.
deserialize(InputStream) - Method in class io.scalecube.cluster.transport.api.JdkMessageCodec
 
deserialize(InputStream) - Method in interface io.scalecube.cluster.transport.api.MessageCodec
Deserializes message from given input stream.

F

from(Message) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates new message with the same data and headers as at given message.
fromData(Object) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates a new message with the given data and without headers.
fromHeaders(Map<String, String>) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates a new message with the given headers and with empty data.
fromQualifier(String) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates a new message with the given qualifier header and with empty data.

H

header(String, String) - Method in class io.scalecube.cluster.transport.api.Message.Builder
Setter for header.
header(String) - Method in class io.scalecube.cluster.transport.api.Message
Returns header value by given header name.
HEADER_CORRELATION_ID - Static variable in class io.scalecube.cluster.transport.api.Message
This header is supposed to be used by application in order to correlate request and response messages.
HEADER_QUALIFIER - Static variable in class io.scalecube.cluster.transport.api.Message
This header is supposed to be used by application in case if same data type can be reused for several messages so it will allow to qualify the specific message type.
HEADER_SENDER - Static variable in class io.scalecube.cluster.transport.api.Message
This header represents sender address of type Address.
headers(Map<String, String>) - Method in class io.scalecube.cluster.transport.api.Message.Builder
Bulk setter for headers.
headers() - Method in class io.scalecube.cluster.transport.api.Message
Returns the message headers.
host() - Method in class io.scalecube.cluster.transport.api.TransportConfig
 
host(String) - Method in class io.scalecube.cluster.transport.api.TransportConfig
Sets a host.

I

INSTANCE - Static variable in interface io.scalecube.cluster.transport.api.MessageCodec
 
io.scalecube.cluster.transport.api - package io.scalecube.cluster.transport.api
 
isStopped() - Method in interface io.scalecube.cluster.transport.api.Transport
Return transport's stopped state.

J

JdkMessageCodec - Class in io.scalecube.cluster.transport.api
 
JdkMessageCodec() - Constructor for class io.scalecube.cluster.transport.api.JdkMessageCodec
 

L

listen() - Method in interface io.scalecube.cluster.transport.api.Transport
Returns stream of received messages.

M

maxFrameLength() - Method in class io.scalecube.cluster.transport.api.TransportConfig
 
maxFrameLength(int) - Method in class io.scalecube.cluster.transport.api.TransportConfig
Sets a maxFrameLength.
Message - Class in io.scalecube.cluster.transport.api
The Class Message introduces generic protocol used for point to point communication by transport.
Message() - Constructor for class io.scalecube.cluster.transport.api.Message
 
Message.Builder - Class in io.scalecube.cluster.transport.api
 
MessageCodec - Interface in io.scalecube.cluster.transport.api
Contains methods for message serializing/deserializing logic.
messageCodec() - Method in class io.scalecube.cluster.transport.api.TransportConfig
 
messageCodec(MessageCodec) - Method in class io.scalecube.cluster.transport.api.TransportConfig
Sets a messageCodec.

P

port() - Method in class io.scalecube.cluster.transport.api.TransportConfig
 
port(int) - Method in class io.scalecube.cluster.transport.api.TransportConfig
Sets a port.

Q

qualifier(String) - Method in class io.scalecube.cluster.transport.api.Message.Builder
 
qualifier() - Method in class io.scalecube.cluster.transport.api.Message
Returns message qualifier.

R

readExternal(ObjectInput) - Method in class io.scalecube.cluster.transport.api.Message
 
requestResponse(Address, Message) - Method in interface io.scalecube.cluster.transport.api.Transport
Sends message to the given address.

S

send(Address, Message) - Method in interface io.scalecube.cluster.transport.api.Transport
Sends message to the given address.
sender(Address) - Method in class io.scalecube.cluster.transport.api.Message.Builder
 
sender() - Method in class io.scalecube.cluster.transport.api.Message
Returns Address of the sender of this message.
serialize(Message, OutputStream) - Method in class io.scalecube.cluster.transport.api.JdkMessageCodec
 
serialize(Message, OutputStream) - Method in interface io.scalecube.cluster.transport.api.MessageCodec
Serializes given message into given output stream.
stop() - Method in interface io.scalecube.cluster.transport.api.Transport
Stop transport, disconnect all connections and release all resources which belong to this transport.

T

toString() - Method in class io.scalecube.cluster.transport.api.Message
 
toString() - Method in class io.scalecube.cluster.transport.api.TransportConfig
 
Transport - Interface in io.scalecube.cluster.transport.api
Transport is responsible for maintaining existing p2p connections to/from other transports.
TransportConfig - Class in io.scalecube.cluster.transport.api
 
TransportConfig() - Constructor for class io.scalecube.cluster.transport.api.TransportConfig
 

W

with(Message) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates new message builder with the same data and headers as at given message.
withData(Object) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates a new message builder with the given data and without headers.
withHeaders(Map<String, String>) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates a new message builder with the given headers and with empty data.
withQualifier(String) - Static method in class io.scalecube.cluster.transport.api.Message
Instantiates a new message builder with the given qualifier header and with empty data.
writeExternal(ObjectOutput) - Method in class io.scalecube.cluster.transport.api.Message
 
A B C D F H I J L M P Q R S T W 
Skip navigation links

Copyright © 2015–2020. All rights reserved.