public interface EchoService
| 限定符和类型 | 方法和说明 |
|---|---|
EchoInfo |
businessExceptionCall(EchoInfo info) |
EchoInfo |
echo(EchoInfo info)
To define a RPC client method.
|
Future<EchoInfo> |
echoAsync(EchoInfo info) |
EchoInfo |
echoAuthenticateData(EchoInfo info) |
EchoInfo |
echoGzip(EchoInfo info) |
EchoInfo |
echoSnappy(EchoInfo info) |
EchoInfo |
echoTimeout(EchoInfo info) |
EchoInfo |
echoUseByteArrayInputParam(EchoInfo info) |
EchoInfo |
echoWithAttachement(EchoInfo info) |
EchoInfo |
echoWithoutReturn(EchoInfo info) |
EchoInfo |
serverFailed(EchoInfo info) |
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=1000L,
compressType=NO,
methodName="echo2")
EchoInfo echo(EchoInfo info)
info - @ProtobufRPC(serviceName="echoService",
methodName="echo",
onceTalkTimeout=1000L)
Future<EchoInfo> echoAsync(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=10000000L,
attachmentHandler=EchoClientAttachmentHandler.class,
logIDGenerator=EchoLogIDGenerator.class)
EchoInfo echoWithAttachement(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=1500L,
compressType=GZIP,
attachmentHandler=EchoClientAttachmentHandler.class,
logIDGenerator=EchoLogIDGenerator.class)
EchoInfo echoGzip(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=1500L,
compressType=Snappy,
attachmentHandler=EchoClientAttachmentHandler.class,
logIDGenerator=EchoLogIDGenerator.class)
EchoInfo echoSnappy(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=1500L,
compressType=Snappy,
attachmentHandler=EchoClientAttachmentHandler.class,
logIDGenerator=EchoLogIDGenerator.class,
authenticationDataHandler=EchoAuthenticationDataHandler.class)
EchoInfo echoAuthenticateData(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=10000L)
EchoInfo businessExceptionCall(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=1000L)
EchoInfo echoTimeout(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=1000L)
EchoInfo serverFailed(EchoInfo info)
@ProtobufRPC(serviceName="echoService",
onceTalkTimeout=10000000L)
EchoInfo echoWithoutReturn(EchoInfo info)
Copyright © 2022 Baidu, Inc.. All rights reserved.