Skip to content

Instantly share code, notes, and snippets.

package com.parallel48.galliano.thrift;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import javax.servlet.ServletException;
- (void)addSomeNumbers
{
var num1 = 1;
var num2 = 2;
[[self thriftClient] addWithNum1:num1
num2:num2
target:self
successAction:@selector(thriftClient:addSucceeded:)
failureAction:@selector(thriftClient:addFailed:)];