All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chanhohang.akka.message.BaseMessageEnvelope Maven / Gradle / Ivy

package com.github.chanhohang.akka.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public abstract class BaseMessageEnvelope implements AkkaEnvelope {

  private static final long serialVersionUID = 1L;

  private long sequenceNumber;

  private Class payloadClass;

  private T payload;

  private String role;

  private String targetRole;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy