Interface PServiceMethod


  • public interface PServiceMethod
    Descriptor for a single service method.
    • 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.
      • getService

        @Nonnull
        PService getService()
        Get the service where this method is represented. Note that it may be defined in the extended service and not the service returned.
        Returns:
        The representing service.