Changeset 20058 for trunk/FACT++
- Timestamp:
- 04/12/21 09:17:56 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/gcn.cc
r19657 r20058 92 92 if (trn=="trn:Transport") 93 93 { 94 /* 95 <?xml version="1.0" encoding="UTF-8"?> 96 <trn:Transport role="iamalive" version="1.0" 97 xmlns:trn="http://telescope-networks.org/schema/Transport/v1.1" 98 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 99 xsi:schemaLocation="http://telescope-networks.org/schema/Transport/v1.1 http://telescope-networks.org/schema/Transport-v1.1.xsd"> 100 <Origin>ivo://uk.org.estar/estar.ex#</Origin> 101 <TimeStamp>2009-04-09T22:39:06</TimeStamp> 102 </trn:Transport> 103 */ 94 104 if (role=="iamalive") 95 105 { … … 109 119 } 110 120 121 /* Response: 122 123 <?xml version='1.0' encoding='UTF-8'?> 124 <trn:Transport role="iamalive" version="1.0" 125 xmlns:trn="http://telescope-networks.org/schema/Transport/v1.1" 126 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 127 xsi:schemaLocation="http://telescope-networks.org/schema/Transport/v1.1 http://telescope-networks.org/schema/Transport-v1.1.xsd"> 128 <Origin>ivo://uk.org.estar/estar.ex#</Origin> 129 <Response>ivo://com.dc3/engineering#</Response> IVORN of the subscriber. 130 <TimeStamp>2009-04-09T22:39:07</TimeStamp> Time stamp at time of sending 131 <Meta> Optional? 132 <Param name="IPAddr" value="123.123.123.123" /> 133 <Param name="Contact" value="rdenny@dc3.com" /> 134 </Meta> 135 </trn:Transport> 136 */ 137 111 138 return true; 112 139 } … … 118 145 fout << "------------------------------------------------------------------------------\n" << fRxData.data() << endl; 119 146 147 /* 148 Acknowledge 149 150 <?xml version='1.0' encoding='UTF-8'?> 151 <trn:Transport role="ack" version="1.0" 152 xmlns:trn="http://telescope-networks.org/schema/Transport/v1.1" 153 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 154 xsi:schemaLocation="http://telescope-networks.org/schema/Transport/v1.1 http://telescope-networks.org/schema/Transport-v1.1.xsd"> 155 <Origin>ivo://nvo.caltech/voeventnet/catot#901211380084129246</Origin> 156 <Response>ivo://com.dc3/engineering#</Response> 157 <TimeStamp>2009-04-09T22:54:01</TimeStamp> 158 <Meta> 159 <Param name="IPAddr" value="123.123.123.123" /> 160 <Param name="Contact" value="rdenny@dc3.com" /> 161 <Result>Message received and validated successfully</Result> 162 </Meta> 163 </trn:Transport> 164 */ 120 165 if (trn=="voe:VOEvent") 121 166 { … … 530 575 } 531 576 532 if ( !rc)577 if (rc==0) 533 578 { 534 579 Out() << "------------------------------------------------------\n";
Note:
See TracChangeset
for help on using the changeset viewer.