Commit c510beeb by Christian Bürckert

Change to Version 1.0.1

parent d2388e69
......@@ -114,7 +114,7 @@
<dependency>
<groupId>de.dfki.tecs</groupId>
<artifactId>libtecs</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</dependency>
</dependencies>
<properties>
......@@ -122,4 +122,4 @@
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
</project>
\ No newline at end of file
</project>
#
# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
require 'thrift'
require 'types_types'
module De
module Dfki
module Tecs
module Examples
module Helloworld
module HWEService
class Client
include ::Thrift::Client
def hello(text)
send_hello(text)
return recv_hello()
end
def send_hello(text)
send_message('hello', Hello_args, :text => text)
end
def recv_hello()
result = receive_message(Hello_result)
return result.success unless result.success.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hello failed: unknown result')
end
end
class Processor
include ::Thrift::Processor
def process_hello(seqid, iprot, oprot)
args = read_args(iprot, Hello_args)
result = Hello_result.new()
result.success = @handler.hello(args.text)
write_result(result, oprot, 'hello', seqid)
end
end
# HELPER FUNCTIONS AND STRUCTURES
class Hello_args
include ::Thrift::Struct, ::Thrift::Struct_Union
TEXT = 1
FIELDS = {
TEXT => {:type => ::Thrift::Types::STRING, :name => 'text'}
}
def struct_fields; FIELDS; end
def validate
end
::Thrift::Struct.generate_accessors self
end
class Hello_result
include ::Thrift::Struct, ::Thrift::Struct_Union
SUCCESS = 0
FIELDS = {
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
}
def struct_fields; FIELDS; end
def validate
end
::Thrift::Struct.generate_accessors self
end
end
end
end
end
end
end
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.dfki.tecs</groupId>
<artifactId>libtecs</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>Java libtecs</name>
......
......@@ -38,7 +38,7 @@ def run_setup():
setup(
name = 'libtecs',
version = '1.0.0',
version = '1.0.1',
description = 'Python Bindings for TECS',
author = 'Christian Buerckert',
author_email = 'christian.buerckert@dfki.de',
......
Gem::Specification.new do |s|
s.name = 'libtecs'
s.version = '1.0.0'
s.version = '1.0.1'
s.date = '2015-01-11'
s.summary = "Library for TECS Communication in Ruby"
s.description = ""
......
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.dfki.tecs</groupId>
<artifactId>server</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>TECS-Server</name>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment