Package ej.rcommand.synchronous
Interface Endpoint
-
- All Known Implementing Classes:
AddServiceEndpoint,ConnectEndpoint,DisableEndpoint,DisconnectEndpoint,DiscoverServicesEndpoint,EnableEndpoint,PollEventEndpoint,SendExecuteWriteResponseEndpoint,SendNotificationEndpoint,SendPairRequestEndpoint,SendPairResponseEndpoint,SendPasskeyResponseEndpoint,SendPrepareWriteResponseEndpoint,SendReadRequestEndpoint,SendReadResponseEndpoint,SendWriteRequestEndpoint,SendWriteResponseEndpoint,StartAdvertisingEndpoint,StartScanningEndpoint,StopAdvertisingEndpoint,StopScanningEndpoint
public interface Endpoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Gets the name of the endpoint corresponding to the command it responds.voidreadRequestBody(CommandReader commandReader)voidwriteResponseBody(CommandSender commandSender)
-
-
-
Method Detail
-
getName
String getName()
Gets the name of the endpoint corresponding to the command it responds.- Returns:
- the name of the endpoint.
-
readRequestBody
void readRequestBody(CommandReader commandReader) throws IOException
- Throws:
IOException
-
writeResponseBody
void writeResponseBody(CommandSender commandSender) throws IOException
- Throws:
IOException
-
-