Java Reference
In-Depth Information
L ISTING 7.10 Continued
/**Start the client applet*/
public final void start() {
try {
resolve();
} catch (Exception ex) {
log(ex);
}
}
7
/**Stop the applet*/
public final void stop() {
// first stop client deploylet
stopApplication();
// then stop server deploylet
try {
server.stopApplication();
} catch (Exception ex) {
log(ex);
}
}
/**Destroy the applet*/
public void destroy() {
}
/**Get Applet information*/
public String getAppletInfo() {
return “Client Deploylet version 1.0”;
}
//
// Deploylet methods
//
/** Implements the related Deploylet method */
public void publish() {
}
/** Implements the related Deploylet method */
public void resolve() {
try {
server.resolve();
Search WWH ::




Custom Search