diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/async-test/aggr.thrift | 19 | ||||
-rw-r--r-- | contrib/transport-sample/Sample.thrift | 19 | ||||
-rw-r--r-- | contrib/zeromq/storage.thrift | 19 |
3 files changed, 57 insertions, 0 deletions
diff --git a/contrib/async-test/aggr.thrift b/contrib/async-test/aggr.thrift index c016a65d8..912b2cf21 100644 --- a/contrib/async-test/aggr.thrift +++ b/contrib/async-test/aggr.thrift @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + exception Error { 1: string desc; } diff --git a/contrib/transport-sample/Sample.thrift b/contrib/transport-sample/Sample.thrift index 3040e251c..464c8ce91 100644 --- a/contrib/transport-sample/Sample.thrift +++ b/contrib/transport-sample/Sample.thrift @@ -1,4 +1,23 @@ /* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/* transport-sample thrift IDL file . Execute thriftme.bat under Windows to generate the cpp stubs from this IDL. */ diff --git a/contrib/zeromq/storage.thrift b/contrib/zeromq/storage.thrift index a1ea96752..79812587c 100644 --- a/contrib/zeromq/storage.thrift +++ b/contrib/zeromq/storage.thrift @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + service Storage { oneway void incr(1: i32 amount); i32 get(); |