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

tech.aroma.thrift.application.service.ApplicationServiceConstants 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.application.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 ApplicationServiceConstants {

  public static final int SERVICE_PORT = 7002;

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

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

  /**
   * The maximum number of characters allowed in a Message.
   * 
   * Anything Longer will be Truncated.
   */
  public static final int MAX_TITLE_LENGTH = 40;

  /**
   * The maximum number of characters allowed in the body of a message.
   * The rest will be truncated.
   */
  public static final int MAX_CHARACTERS_IN_BODY = 15000;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy