Interface RmiExamples.GreetingService
- All Superinterfaces:
Remote
- Enclosing class:
RmiExamples
Remote contract. RMI methods declare
RemoteException because network
calls can fail even when the target Java method is simple.-
Method Summary
Modifier and TypeMethodDescriptiongreet(RmiExamples.GreetingRequest request) Greets the supplied request.
-
Method Details
-
greet
Greets the supplied request.- Parameters:
request- serializable request copied through the RMI call- Returns:
- greeting message
- Throws:
RemoteException- when the remote invocation fails
-