From 9ea33470d3522f62706385887b064526cef8a2e5 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 28 Aug 2015 13:30:06 +0200 Subject: Thrift API --- .../org/openslx/bwlp/thrift/iface/LectureRead.java | 100 ++++++++++----------- 1 file changed, 50 insertions(+), 50 deletions(-) (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java') diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java b/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java index fc213b5..0cd2051 100644 --- a/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java +++ b/src/main/java/org/openslx/bwlp/thrift/iface/LectureRead.java @@ -2168,13 +2168,13 @@ public class LectureRead implements org.apache.thrift.TBase(_list106.size); - for (int _i107 = 0; _i107 < _list106.size; ++_i107) + org.apache.thrift.protocol.TList _list122 = iprot.readListBegin(); + struct.nics = new ArrayList(_list122.size); + for (int _i123 = 0; _i123 < _list122.size; ++_i123) { - String _elem108; - _elem108 = iprot.readString(); - struct.nics.add(_elem108); + String _elem124; + _elem124 = iprot.readString(); + struct.nics.add(_elem124); } iprot.readListEnd(); } @@ -2186,13 +2186,13 @@ public class LectureRead implements org.apache.thrift.TBase(_list109.size); - for (int _i110 = 0; _i110 < _list109.size; ++_i110) + org.apache.thrift.protocol.TList _list125 = iprot.readListBegin(); + struct.allowedUsers = new ArrayList(_list125.size); + for (int _i126 = 0; _i126 < _list125.size; ++_i126) { - String _elem111; - _elem111 = iprot.readString(); - struct.allowedUsers.add(_elem111); + String _elem127; + _elem127 = iprot.readString(); + struct.allowedUsers.add(_elem127); } iprot.readListEnd(); } @@ -2204,14 +2204,14 @@ public class LectureRead implements org.apache.thrift.TBase(_list112.size); - for (int _i113 = 0; _i113 < _list112.size; ++_i113) + org.apache.thrift.protocol.TList _list128 = iprot.readListBegin(); + struct.networkExceptions = new ArrayList(_list128.size); + for (int _i129 = 0; _i129 < _list128.size; ++_i129) { - NetRule _elem114; - _elem114 = new NetRule(); - _elem114.read(iprot); - struct.networkExceptions.add(_elem114); + NetRule _elem130; + _elem130 = new NetRule(); + _elem130.read(iprot); + struct.networkExceptions.add(_elem130); } iprot.readListEnd(); } @@ -2321,9 +2321,9 @@ public class LectureRead implements org.apache.thrift.TBase(_list121.size); - for (int _i122 = 0; _i122 < _list121.size; ++_i122) + org.apache.thrift.protocol.TList _list137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.nics = new ArrayList(_list137.size); + for (int _i138 = 0; _i138 < _list137.size; ++_i138) { - String _elem123; - _elem123 = iprot.readString(); - struct.nics.add(_elem123); + String _elem139; + _elem139 = iprot.readString(); + struct.nics.add(_elem139); } } struct.setNicsIsSet(true); } if (incoming.get(17)) { { - org.apache.thrift.protocol.TList _list124 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.allowedUsers = new ArrayList(_list124.size); - for (int _i125 = 0; _i125 < _list124.size; ++_i125) + org.apache.thrift.protocol.TList _list140 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.allowedUsers = new ArrayList(_list140.size); + for (int _i141 = 0; _i141 < _list140.size; ++_i141) { - String _elem126; - _elem126 = iprot.readString(); - struct.allowedUsers.add(_elem126); + String _elem142; + _elem142 = iprot.readString(); + struct.allowedUsers.add(_elem142); } } struct.setAllowedUsersIsSet(true); } if (incoming.get(18)) { { - org.apache.thrift.protocol.TList _list127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.networkExceptions = new ArrayList(_list127.size); - for (int _i128 = 0; _i128 < _list127.size; ++_i128) + org.apache.thrift.protocol.TList _list143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.networkExceptions = new ArrayList(_list143.size); + for (int _i144 = 0; _i144 < _list143.size; ++_i144) { - NetRule _elem129; - _elem129 = new NetRule(); - _elem129.read(iprot); - struct.networkExceptions.add(_elem129); + NetRule _elem145; + _elem145 = new NetRule(); + _elem145.read(iprot); + struct.networkExceptions.add(_elem145); } } struct.setNetworkExceptionsIsSet(true); -- cgit v1.2.3-55-g7522