Difference between revisions of "Event Feed"

From PC2wiki
Jump to: navigation, search
m (update description/add info)
m (See Also: add link)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
An Event Feed is a [[CCS]] Standard XML feed of contest events.
+
An Event Feed is an XML stream of contest events.
  
A specification for an Event Feed is at: [https://clics.ecs.baylor.edu/index.php/Event_Feed ICPC CLI CCS Event Feed Specification]
+
PC2 implements the [[CLICS]] [[CCS_Specification]] Event Feed as described in the specification at: [https://clics.ecs.baylor.edu/index.php/Event_Feed ICPC CLI CCS Event Feed Specification]
but the specification changes.  Contact the pc2 team for the most up to date information.
+
(note that this specification changes over time; contact the PC2 team for the most up to date information).
  
One can also create [[Event Feed]]s using pc2 and
+
Generating an Event Feed is done by creating a "Feeder" account, logging in to that account, and using it
 +
to start an [[Event Feed Server]].  The Event Feed Server will then output contest events in XML form per
 +
the [[CLICS]] specification.
  
 
==The Feed==
 
==The Feed==
  
The [[Event Feed Server]] will supply a program XML which  
+
The [[Event Feed Server]] will generate and output to a socket XML which  
has information about configuration, submissions and judgements.  As
+
has information about configuration, submissions and judgements in the contest.  As
each event happens the event feed will send XML to the listening program.
+
each event happens the event feed will send XML to any client listening on the socket.
  
 
When a contest is [[Finalized]] the finalized element and closing
 
When a contest is [[Finalized]] the finalized element and closing
Line 24: Line 26:
  
 
==See Also==
 
==See Also==
 +
* [[pc2ef]] - script to start an event feed
 
* [[pc2nc]] - PC² implementation of netcat to read event feed
 
* [[pc2nc]] - PC² implementation of netcat to read event feed
 
* [[Event Feed Server]]
 
* [[Event Feed Server]]
 
* [https://clics.ecs.baylor.edu/index.php/Event_Feed ICPC CLI CCS Event Feed Specification]
 
* [https://clics.ecs.baylor.edu/index.php/Event_Feed ICPC CLI CCS Event Feed Specification]
  
[[Category:CCS]]  
+
[[Category:CLICS]]  
 
[[Category:Version 9.3]]
 
[[Category:Version 9.3]]
 
[[Category:Import and Export]]
 
[[Category:Import and Export]]

Latest revision as of 11:04, 10 May 2017

An Event Feed is an XML stream of contest events.

PC2 implements the CLICS CCS_Specification Event Feed as described in the specification at: ICPC CLI CCS Event Feed Specification (note that this specification changes over time; contact the PC2 team for the most up to date information).

Generating an Event Feed is done by creating a "Feeder" account, logging in to that account, and using it to start an Event Feed Server. The Event Feed Server will then output contest events in XML form per the CLICS specification.

The Feed

The Event Feed Server will generate and output to a socket XML which has information about configuration, submissions and judgements in the contest. As each event happens the event feed will send XML to any client listening on the socket.

When a contest is Finalized the finalized element and closing contest element will be output.

Report

The Event Feed Report will produce an Event Feed. There are a number of reports with the name Event Feed. Use the report named Event Feed XML for ICPC Tools Resolver Report.

Event Feed XML for ICPC Tools Resolver Report is the feed output by the Event Feed Server.

See Also