com.alibaba.dubbo.rpc.protocol.thrift.ThriftClassNameGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dubbo Show documentation
Show all versions of dubbo Show documentation
Dubbo is a distributed service framework enpowers applications with service import/export capability with high performance RPC.
/**
* 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