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

com.alibaba.dubbo.rpc.protocol.thrift.ThriftClassNameGenerator Maven / Gradle / Ivy

The newest version!
/**
 * File Created at 2012-02-02
 * $Id$
 *
 * Copyright 2008 Alibaba.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Alibaba Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Alibaba.com.
 */
package com.alibaba.dubbo.rpc.protocol.thrift;

/**
 * @author kimi
 */
public class ThriftClassNameGenerator implements ClassNameGenerator {

    public static final String NAME = "thrift";

    public String generateArgsClassName( String serviceName, String methodName ) {
        return ThriftUtils.generateMethodArgsClassNameThrift( serviceName, methodName );
    }

    public String generateResultClassName( String serviceName, String methodName ) {
        return ThriftUtils.generateMethodResultClassNameThrift( serviceName, methodName );
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy