1 package cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages;
2
3
4 import java.util.*;import javax.vecmath.*;import cz.cuni.amis.pogamut.base.communication.messages.*;import cz.cuni.amis.pogamut.base.communication.worldview.*;import cz.cuni.amis.pogamut.base.communication.worldview.event.*;import cz.cuni.amis.pogamut.base.communication.worldview.object.*;import cz.cuni.amis.pogamut.multi.communication.worldview.object.*;import cz.cuni.amis.pogamut.base.communication.translator.event.*;import cz.cuni.amis.pogamut.multi.communication.translator.event.*;import cz.cuni.amis.pogamut.base3d.worldview.object.*;import cz.cuni.amis.pogamut.base3d.worldview.object.event.*;import cz.cuni.amis.pogamut.ut2004.communication.messages.*;import cz.cuni.amis.pogamut.ut2004.communication.worldview.objects.*;import cz.cuni.amis.pogamut.ut2004multi.communication.worldview.objects.*;import cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.*;import cz.cuni.amis.pogamut.ut2004.communication.messages.ItemType.Category;import cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId;import cz.cuni.amis.utils.exception.*;import cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdateResult.Result;import cz.cuni.amis.utils.SafeEquals;import cz.cuni.amis.pogamut.base.agent.*;import cz.cuni.amis.pogamut.multi.agent.*;import cz.cuni.amis.pogamut.multi.communication.worldview.property.*;import cz.cuni.amis.pogamut.ut2004multi.communication.worldview.property.*;import cz.cuni.amis.utils.token.*;import cz.cuni.amis.utils.*;
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 public class HelloObserverHandshake
29 extends InfoMessage
30 implements IWorldEvent, IWorldChangeEvent
31
32 {
33
34
35 public static final String PROTOTYPE =
36 "HELLO_OBSERVER";
37
38
39
40
41
42
43 public HelloObserverHandshake()
44 {
45 }
46
47
48
49
50
51
52 public HelloObserverHandshake(HelloObserverHandshake original) {
53
54 this.SimTime = original.getSimTime();
55 }
56
57
58 protected long SimTime;
59
60
61
62
63 @Override
64 public long getSimTime() {
65 return SimTime;
66 }
67
68
69
70
71 protected void setSimTime(long SimTime) {
72 this.SimTime = SimTime;
73 }
74
75
76 public String toString() {
77 return
78 super.toString() + "[" +
79
80 "]";
81 }
82
83
84 public String toHtmlString() {
85 return super.toString() + "[<br/>" +
86
87 "<br/>]";
88 }
89
90 public String toJsonLiteral() {
91 return "HelloObserverHandshake(null, "
92
93 + ")";
94 }
95
96
97
98
99
100
101
102
103
104
105 }
106