Package | Description |
---|---|
org.apache.avro |
Avro kernel classes.
|
org.apache.avro.ipc |
Support for inter-process calls.
|
org.apache.avro.ipc.specific |
Modifier and Type | Method and Description |
---|---|
<T> Protocol.Message |
Protocol.createMessage(String name,
String doc,
Map<String,T> propMap,
Schema request)
Create a one-way message.
|
<T> Protocol.Message |
Protocol.createMessage(String name,
String doc,
Map<String,T> propMap,
Schema request,
Schema response,
Schema errors)
Create a two-way message.
|
Protocol.Message |
Protocol.createMessage(String name,
String doc,
Schema request)
Deprecated.
|
Protocol.Message |
Protocol.createMessage(String name,
String doc,
Schema request,
Schema response,
Schema errors)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Protocol.Message> |
Protocol.getMessages()
The messages of this protocol.
|
Modifier and Type | Method and Description |
---|---|
Protocol.Message |
RPCContext.getMessage()
Returns the
Protocol.Message corresponding to this RPC |
Modifier and Type | Method and Description |
---|---|
abstract Object |
Responder.respond(Protocol.Message message,
Object request)
Computes the response for a message.
|
void |
RPCContext.setMessage(Protocol.Message message)
Sets the
Protocol.Message corresponding to this RPC |
Modifier and Type | Method and Description |
---|---|
Object |
SpecificResponder.respond(Protocol.Message message,
Object request) |
Copyright © 2009–2016 The Apache Software Foundation. All rights reserved.