diff options
Diffstat (limited to 'src/com/isode/stroke/elements/Delay.java')
-rw-r--r-- | src/com/isode/stroke/elements/Delay.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/Delay.java b/src/com/isode/stroke/elements/Delay.java new file mode 100644 index 0000000..9827a82 --- /dev/null +++ b/src/com/isode/stroke/elements/Delay.java @@ -0,0 +1,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_; +} |