blob: 9827a827f2ad996c5e6c469d4f111473feecb5f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*
* Copyright (c) 2014 Kevin Smith and Remko Tronçon
* All rights reserved.
*/
/*
* Copyright (c) 2014, Isode Limited, London, England.
* All rights reserved.
*/
package com.isode.stroke.elements;
import java.util.Date;
import com.isode.stroke.jid.JID;
public class Delay extends Payload {
public Delay() {
}
public Delay(Date time, JID from) {
time_ = time;
from_ = from;
}
public Date getStamp() {
return time_;
}
public void setStamp(Date time) {
time_ = time;
}
public JID getFrom() {
return from_;
}
public void setFrom(JID from) {
from_ = from;
}
private Date time_;
private JID from_;
}
|