Uses of Class
dev.ua.theroer.magicutils.messaging.MessageSource
Packages that use MessageSource
-
Uses of MessageSource in dev.ua.theroer.magicutils.messaging
Methods in dev.ua.theroer.magicutils.messaging that return MessageSourceModifier and TypeMethodDescriptionstatic MessageSourceCreates a backend source.static MessageSourceCreates a proxy source.MessageBus.self()Returns this member's identity.IncomingMessage.source()Returns the member that sent this message.MessageEnvelope.source()Returns the originating member.Methods in dev.ua.theroer.magicutils.messaging with parameters of type MessageSourceModifier and TypeMethodDescriptionbooleanMessageEnvelope.acceptedBy(MessageSource self, Predicate<UUID> hostsPlayer) Decides whether a local member should accept this envelope given the target.static MessageBus.BuilderMessageBus.builder(MessageSource self, MessageTransport transport) Creates a bus builder.static MessagingService.BuilderMessagingService.builder(MessageSource self) Creates a service builder.static MessageEnvelopeMessageEnvelope.create(String channel, Target target, MessageSource source, byte[] payload) Creates an envelope with a fresh id and the current timestamp.Constructors in dev.ua.theroer.magicutils.messaging with parameters of type MessageSourceModifierConstructorDescriptionMessageEnvelope(UUID id, String channel, Target target, MessageSource source, byte[] payload, long timestamp) Creates an envelope.