KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Jt > JtInterface


1
2
3 package Jt;
4
5
6 /**
7   * This interface implements the messaging pattern. JtInterface defines a single method
8   * to process a message and return a reply.
9   * All the Jt Objects need to implement this interface directly or indirectly by subclassing
10   * JtOject (or one of its subclasses). JtObject implements the JtInterface.
11   */

12
13 public interface JtInterface {
14
15 /**
16   * Process a Jt message and return a reply. Message and reply objects are used to pass information
17   * to/from the object.
18   */

19
20   Object JavaDoc processMessage (Object JavaDoc msg);
21
22
23 }
24
25
26
Free Books   Free Magazines  
Popular Tags