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

ai.stapi.graphsystem.messaging.command.AbstractCommand Maven / Gradle / Ivy

package ai.stapi.graphsystem.messaging.command;

import ai.stapi.serialization.AbstractSerializableObject;
import ai.stapi.identity.UniqueIdentifier;

public abstract class AbstractCommand extends AbstractSerializableObject
    implements EndpointCommand {

  private T targetIdentifier;

  protected AbstractCommand() {
  }

  protected AbstractCommand(
      T targetIdentifier,
      String serializationType
  ) {
    super(serializationType);
    this.targetIdentifier = targetIdentifier;
  }

  public T getTargetIdentifier() {
    return targetIdentifier;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy