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

tech.aroma.thrift.message.service.MessageServiceConstants Maven / Gradle / Ivy

Go to download

Part of the Aroma Project. This project contains the Service and Model Definitions. From this the Server and Client interfaces are generated for the Aroma Service.

There is a newer version: 2.2
Show newest version
/**
 * Autogenerated by Thrift Compiler (0.9.3)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
package tech.aroma.thrift.message.service;

import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;

import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
public class MessageServiceConstants {

  public static final int SERVICE_PORT = 7011;

  public static final tech.aroma.thrift.endpoint.TcpEndpoint PRODUCTION_ENDPOINT = new tech.aroma.thrift.endpoint.TcpEndpoint();
  static {
    PRODUCTION_ENDPOINT.setHostname("message-srv.aroma.tech");
    PRODUCTION_ENDPOINT.setPort(7011);
  }

  public static final tech.aroma.thrift.endpoint.TcpEndpoint BETA_ENDPOINT = new tech.aroma.thrift.endpoint.TcpEndpoint();
  static {
    BETA_ENDPOINT.setHostname("message-srv.beta.aroma.tech");
    BETA_ENDPOINT.setPort(7011);
  }

  /**
   * The Default lifetime of a Regular Message sent to Aroma.
   */
  public static final tech.aroma.thrift.LengthOfTime DEFAULT_MESSAGE_LIFETIME = new tech.aroma.thrift.LengthOfTime();
  static {
    DEFAULT_MESSAGE_LIFETIME.setValue(1L);
    DEFAULT_MESSAGE_LIFETIME.setUnit(tech.aroma.thrift.TimeUnit.DAYS);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy