com.flash3388.flashlib.net.messaging.MessageMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flashlib.net.core Show documentation
Show all versions of flashlib.net.core Show documentation
Robotics development framework (flashlib.net.core)
The newest version!
package com.flash3388.flashlib.net.messaging;
import com.flash3388.flashlib.time.Time;
import com.flash3388.flashlib.util.unique.InstanceId;
/**
* Meta-data for a message received.
*
* @since FlashLib 3.2.0
*/
public interface MessageMetadata {
/**
* Gets the id of the sender in the form on {@link InstanceId}
*
* @return sender
*/
InstanceId getSender();
/**
* Gets the time at which the message was received.
*
* @return timestamp
*/
Time getTimestamp();
/**
* Gets the type of the message.
*
* @return type
*/
MessageType getType();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy