Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Client.Communication/3.2/Service References/ServerService/HeuristicLab.Hive.Contracts.BusinessObjects.xsd @ 1635

Last change on this file since 1635 was 993, checked in by kgrading, 15 years ago

refactored for #437

File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts.BusinessObjects" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Hive.Contracts.BusinessObjects" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
4  <xs:import namespace="http://schemas.datacontract.org/2004/07/System" />
5  <xs:complexType name="ClientInfo">
6    <xs:complexContent mixed="false">
7      <xs:extension base="tns:Resource">
8        <xs:sequence>
9          <xs:element minOccurs="0" name="ClientId" type="ser:guid" />
10          <xs:element minOccurs="0" name="ClientInfoId" type="xs:long" />
11          <xs:element minOccurs="0" name="Config" nillable="true" type="tns:ClientConfig" />
12          <xs:element minOccurs="0" name="CpuSpeedPerCore" type="xs:int" />
13          <xs:element minOccurs="0" name="Login" type="xs:dateTime" />
14          <xs:element minOccurs="0" name="Memory" type="xs:int" />
15          <xs:element minOccurs="0" name="NrOfCores" type="xs:int" />
16          <xs:element minOccurs="0" name="State" type="tns:State" />
17        </xs:sequence>
18      </xs:extension>
19    </xs:complexContent>
20  </xs:complexType>
21  <xs:element name="ClientInfo" nillable="true" type="tns:ClientInfo" />
22  <xs:complexType name="Resource">
23    <xs:sequence>
24      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
25      <xs:element minOccurs="0" name="ResourceId" type="xs:long" />
26    </xs:sequence>
27  </xs:complexType>
28  <xs:element name="Resource" nillable="true" type="tns:Resource" />
29  <xs:complexType name="ClientConfig">
30    <xs:sequence>
31      <xs:element minOccurs="0" name="ClientConfigId" type="xs:long" />
32      <xs:element minOccurs="0" name="HeartBeatIntervall" type="xs:int" />
33      <xs:element minOccurs="0" name="UpDownTimeCalendar" nillable="true" type="xs:string" />
34    </xs:sequence>
35  </xs:complexType>
36  <xs:element name="ClientConfig" nillable="true" type="tns:ClientConfig" />
37  <xs:simpleType name="State">
38    <xs:restriction base="xs:string">
39      <xs:enumeration value="idle" />
40      <xs:enumeration value="calculating" />
41      <xs:enumeration value="offline" />
42    </xs:restriction>
43  </xs:simpleType>
44  <xs:element name="State" nillable="true" type="tns:State" />
45  <xs:complexType name="HeartBeatData">
46    <xs:sequence>
47      <xs:element minOccurs="0" name="ClientId" type="ser:guid" />
48      <xs:element minOccurs="0" name="freeCores" type="xs:int" />
49      <xs:element minOccurs="0" name="freeMemory" type="xs:int" />
50      <xs:element minOccurs="0" name="jobProgress" type="xs:int" />
51    </xs:sequence>
52  </xs:complexType>
53  <xs:element name="HeartBeatData" nillable="true" type="tns:HeartBeatData" />
54  <xs:complexType name="JobResult">
55    <xs:sequence>
56      <xs:element minOccurs="0" name="Client" nillable="true" type="tns:ClientInfo" />
57      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="Exception" nillable="true" type="q1:Exception" />
58      <xs:element minOccurs="0" name="JobId" type="xs:long" />
59      <xs:element minOccurs="0" name="JobResultId" type="xs:long" />
60      <xs:element minOccurs="0" name="Result" nillable="true" type="xs:base64Binary" />
61    </xs:sequence>
62  </xs:complexType>
63  <xs:element name="JobResult" nillable="true" type="tns:JobResult" />
64</xs:schema>
Note: See TracBrowser for help on using the repository browser.