KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > server > framework > AceTimerMessage


1 package com.quikj.server.framework;
2
3 public final class AceTimerMessage implements AceMessageInterface
4 {
5     protected AceTimerMessage (long exp, AceThread thr, int id, long user)
6     {
7     expiryTime = exp;
8     requestingThread = thr;
9     timerId = id;
10     userSpecifiedParm = user;
11     }
12
13     public String JavaDoc messageType()
14     {
15     return new String JavaDoc ("AceTimerMessage");
16     }
17     
18     public long getExpiryTime()
19     {
20     return expiryTime;
21     }
22     
23     public AceThread getRequestingThread()
24     {
25     return requestingThread;
26     }
27
28     public int getTimerId()
29     {
30     return timerId;
31     }
32
33     public long getUserSpecifiedParm()
34     {
35     return userSpecifiedParm;
36     }
37
38     private long expiryTime;
39     private AceThread requestingThread;
40     private int timerId;
41     private long userSpecifiedParm;
42 }
43
Popular Tags