Class MessageNode
java.lang.Object
io.aether.cloud.client.MessageNode
- All Implemented Interfaces:
io.aether.utils.ToString
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal io.aether.utils.slots.EventConsumerWithQueue<byte[]> -
Constructor Summary
ConstructorsConstructorDescriptionMessageNode(AetherCloudClient client, UUID consumer, MessageEventListener strategy) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConsumerConnectionOut(ConnectionWork connectionWork) voidaddConsumerServerOut(int id) voidaddConsumerServerOut(io.aether.api.common.ServerDescriptor serverDescriptor) io.aether.utils.futures.AFuturesend(byte[] msg) voidsendMessageFromServerToClient(byte[] data) voidsetStrategy(MessageEventListener strategy) <LT> io.aether.net.fastMeta.FastApiContextLocal<LT> toApi(io.aether.net.fastMeta.FastApiContextLocal<LT> ctx, io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt) <LT> voidtoApi(io.aether.net.fastMeta.FastFutureContext ctx, io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt, LT localApi) <LT> io.aether.net.fastMeta.FastApiContextLocal<LT> toApi(io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt, LT localApi) <LT> io.aether.net.fastMeta.FastApiContextLocal<LT> toApiR(io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt, io.aether.utils.interfaces.AFunction<io.aether.net.fastMeta.FastApiContextLocal<LT>, LT> localApi) io.aether.utils.AStringtoAString(io.aether.utils.AString sb) voidtoConsumer(io.aether.utils.interfaces.AConsumer<byte[]> o) toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.aether.utils.ToString
toString2
-
Field Details
-
bufferIn
public final io.aether.utils.slots.EventConsumerWithQueue<byte[]> bufferIn
-
-
Constructor Details
-
MessageNode
-
-
Method Details
-
toAString
public io.aether.utils.AString toAString(io.aether.utils.AString sb) - Specified by:
toAStringin interfaceio.aether.utils.ToString
-
toString
-
getStrategy
-
setStrategy
-
send
public io.aether.utils.futures.AFuture send(byte[] msg) -
getConsumerUUID
-
addConsumerServerOut
public void addConsumerServerOut(int id) -
addConsumerServerOut
public void addConsumerServerOut(io.aether.api.common.ServerDescriptor serverDescriptor) -
addConsumerConnectionOut
-
sendMessageFromServerToClient
public void sendMessageFromServerToClient(byte[] data) -
toConsumer
public void toConsumer(io.aether.utils.interfaces.AConsumer<byte[]> o) -
toApiR
public <LT> io.aether.net.fastMeta.FastApiContextLocal<LT> toApiR(io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt, io.aether.utils.interfaces.AFunction<io.aether.net.fastMeta.FastApiContextLocal<LT>, LT> localApi) -
toApi
public <LT> void toApi(io.aether.net.fastMeta.FastFutureContext ctx, io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt, LT localApi) -
toApi
public <LT> io.aether.net.fastMeta.FastApiContextLocal<LT> toApi(io.aether.net.fastMeta.FastApiContextLocal<LT> ctx, io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt) -
toApi
public <LT> io.aether.net.fastMeta.FastApiContextLocal<LT> toApi(io.aether.net.fastMeta.FastMetaApi<LT, ? extends LT> metaLt, LT localApi)
-