1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.waarp.openr66.protocol.localhandler.packet.json;
21
22 import org.waarp.openr66.protocol.localhandler.packet.LocalPacketFactory;
23
24 import java.util.Date;
25
26 import static org.waarp.common.database.DbConstant.*;
27
28
29
30
31 public class RestartTransferJsonPacket extends JsonPacket {
32
33 protected String requester;
34 protected String requested;
35 protected long specialid = ILLEGALVALUE;
36 public Date restarttime;
37
38
39
40
41 public final String getRequester() {
42 return requester;
43 }
44
45
46
47
48 public final void setRequester(final String requester) {
49 this.requester = requester;
50 }
51
52
53
54
55 public final String getRequested() {
56 return requested;
57 }
58
59
60
61
62 public final void setRequested(final String requested) {
63 this.requested = requested;
64 }
65
66
67
68
69 public final long getSpecialid() {
70 return specialid;
71 }
72
73
74
75
76 public final void setSpecialid(final long specialid) {
77 this.specialid = specialid;
78 }
79
80
81
82
83 public final Date getRestarttime() {
84 return restarttime;
85 }
86
87
88
89
90 public final void setRestarttime(final Date restarttime) {
91 this.restarttime = restarttime;
92 }
93
94 @Override
95 public final void setRequestUserPacket() {
96 setRequestUserPacket(LocalPacketFactory.VALIDPACKET);
97 }
98 }