ProtocolMetaInterface (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.ipc, interface: ProtocolMetaInterface

Package org.apache.hadoop.ipc

# Interface ProtocolMetaInterface

All Known Implementing Classes:
  `GenericRefreshProtocolClientSideTranslatorPB`, `GetUserMappingsProtocolClientSideTranslatorPB`, `RefreshAuthorizationPolicyProtocolClientSideTranslatorPB`, `RefreshCallQueueProtocolClientSideTranslatorPB`, `RefreshUserMappingsProtocolClientSideTranslatorPB`

@Private @Stable public interface ProtocolMetaInterface
This interface is implemented by the client side translators and can be used to obtain information about underlying protocol e.g. to check if a method is supported on the server side.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isMethodSupported(String methodName)`
  Checks whether the given method name is supported by the server.

- ## Method Details

  - ### isMethodSupported

    boolean isMethodSupported(String methodName) throws IOException
    Checks whether the given method name is supported by the server. It is assumed that all method names are unique for a protocol.
    Parameters:
      `methodName` - The name of the method
    Returns:
      true if method is supported, otherwise false.
    Throws:
      `IOException` - raised on errors performing I/O.