Interface PServiceMethod
-
public interface PServiceMethod
Descriptor for a single service method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
PStructDescriptor
getRequestType()
PUnionDescriptor
getResponseType()
boolean
isOneway()
-
-
-
Method Detail
-
getName
@Nonnull java.lang.String getName()
- Returns:
- Name of the method.
-
isOneway
boolean isOneway()
- Returns:
- If the method cal is oneway.
-
getRequestType
@Nonnull PStructDescriptor getRequestType()
- Returns:
- The descriptor of the request type.
-
getResponseType
@Nullable PUnionDescriptor getResponseType()
- Returns:
- The descriptor of the response type, or null for oneway methods.
-
-