Uses of Class
dev.ua.theroer.magicutils.messaging.Target
Packages that use Target
-
Uses of Target in dev.ua.theroer.magicutils.messaging
Methods in dev.ua.theroer.magicutils.messaging that return TargetModifier and TypeMethodDescriptionstatic TargetTarget.allBackends()A message for every backend server, excluding the proxy.static TargetTarget.broadcast()A message for every subscriber on the channel, on every member.static TargetA message for whichever backend currently hosts the given player.static TargetTarget.proxy()A message for the proxy only.static TargetA message for a single backend server by its registered name.IncomingMessage.target()Returns the addressing hint the sender used.MessageEnvelope.target()Returns the addressing hint.Methods in dev.ua.theroer.magicutils.messaging with parameters of type TargetModifier and TypeMethodDescriptionstatic MessageEnvelopeMessageEnvelope.create(String channel, Target target, MessageSource source, byte[] payload) Creates an envelope with a fresh id and the current timestamp.voidPublishes a payload on a channel to the given target.voidPublishes a payload on a channel to a target.Constructors in dev.ua.theroer.magicutils.messaging with parameters of type TargetModifierConstructorDescriptionMessageEnvelope(UUID id, String channel, Target target, MessageSource source, byte[] payload, long timestamp) Creates an envelope.