
You must provide the actual implementation of the callback object defined by the Notificator interface. The implementation is provided with the NotificatorServant.java class.
| Field | Value |
|---|---|
|
Source Folder |
Client |
|
Package |
Leave empty (equivalent to default). |
|
Enclosing type |
Do not select |
|
Name |
NotificatorServant |
|
Modifiers |
public |
|
Superclass |
examples.iiop.NotificatorPOA |
|
Interfaces |
Leave empty |
|
Which method stubs would you like to create? |
Select Inherited abstract methods only. |
System.out.println(arg0);
You have successfully implemented the NotificatorServant object. The full source code of the class must be the following:
import examples.iiop.NotificatorPOA;
public class NotificatorServant extends NotificatorPOA {
/*
* The message method that prints a string to the system output
*
* @see examples.iiop.NotificatorOperations#message(java.lang.String)
*/
public void message(String arg0) {
System.out.println(arg0);
}
}