diff --git a/.gitignore b/.gitignore
index cf7b324..3b7bf2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
-.gitignore
target
.project
.classpath
.settings
-.iml
-*~
+*.iml
+.idea
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index ede0210..18f01a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,178 +1,178 @@
- 4.0.0
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ 4.0.0
- org.msgpack
- msgpack-rpc
- jar
- 0.7.1-SNAPSHOT
+ org.msgpack
+ msgpack-rpc
+ jar
+ 0.7.1-SNAPSHOT
- msgpack-rpc
- http://msgpack.org/
+ msgpack-rpc
+ http://msgpack.org/
-
-
- The Apache Software License, Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
-
-
+
+
+ The Apache Software License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+
+
-
- scm:git:git://github.com/msgpack/msgpack-rpc.git
- scm:git:git://github.com/msgpack/msgpack-rpc.git
-
+
+ scm:git:git://github.com/msgpack/msgpack-rpc.git
+ scm:git:git://github.com/msgpack/msgpack-rpc.git
+
-
-
-
- src/main/resources
-
-
-
-
- src/test/resources
-
-
+
+
+
+ src/main/resources
+
+
+
+
+ src/test/resources
+
+
-
-
- maven-compiler-plugin
- 2.3.2
-
- 1.5
- 1.5
-
-
+
+
+ maven-compiler-plugin
+ 2.3.2
+
+ 1.5
+ 1.5
+
+
-
- maven-eclipse-plugin
- 2.5.1
-
+
+ maven-eclipse-plugin
+ 2.5.1
+
-
- maven-release-plugin
- 2.1
-
-
- deploy
- scm:git:git://github.com/msgpack/msgpack-rpc.git
-
-
-
-
+
+ maven-release-plugin
+ 2.1
+
+
+ deploy
+ scm:git:git://github.com/msgpack/msgpack-rpc.git
+
+
+
+
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 2.8.1
-
- ${project.name} ${project.version} API
- true
- en_US
- UTF-8
-
-
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.8.1
+
+ ${project.name} ${project.version} API
+ true
+ en_US
+ UTF-8
+
+
-
- org.apache.maven.plugins
- maven-jxr-plugin
- 2.2
-
+
+ org.apache.maven.plugins
+ maven-jxr-plugin
+ 2.2
+
-
- org.apache.maven.plugins
- maven-surefire-report-plugin
- 2.11
-
-
-
+
+ org.apache.maven.plugins
+ maven-surefire-report-plugin
+ 2.11
+
+
+
-
-
- repository.jboss.org
- https://repository.jboss.org/nexus/content/groups/public/
-
- false
-
-
-
+
+
+ repository.jboss.org
+ https://repository.jboss.org/nexus/content/groups/public/
+
+ false
+
+
+
-
-
- org.msgpack
- msgpack
- 0.6.6
- compile
-
-
- org.jboss.netty
- netty
- 3.2.1.Final
-
-
- javax.servlet
- servlet-api
-
-
- commons-logging
- commons-logging
-
-
- compile
-
-
- org.slf4j
- slf4j-api
- 1.6.1
-
-
- org.slf4j
- slf4j-log4j12
- 1.6.1
-
-
- junit
- junit
- 4.8.2
- test
-
-
+
+
+ org.msgpack
+ msgpack
+ 0.6.6
+ compile
+
+
+ io.netty
+ netty-all
+ 4.0.14.Final
+
+
+ javax.servlet
+ servlet-api
+
+
+ commons-logging
+ commons-logging
+
+
+ compile
+
+
+ org.slf4j
+ slf4j-api
+ 1.6.1
+
+
+ org.slf4j
+ slf4j-log4j12
+ 1.6.1
+
+
+ junit
+ junit
+ 4.8.2
+ test
+
+
-
-
- false
- msgpack.org
- Repository at msgpack.org
- file://${project.build.directory}/website/maven2/
-
-
- true
- msgpack.org
- Repository at msgpack.org
- file://${project.build.directory}/website/maven2/
-
-
+
+
+ false
+ msgpack.org
+ Repository at msgpack.org
+ file://${project.build.directory}/website/maven2/
+
+
+ true
+ msgpack.org
+ Repository at msgpack.org
+ file://${project.build.directory}/website/maven2/
+
+
-
-
- release
-
-
-
- true
- org.apache.maven.plugins
- maven-deploy-plugin
- 2.4
-
- true
-
-
-
-
-
-
-
+
+
+ release
+
+
+
+ true
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 2.4
+
+ true
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/settings.xml b/settings.xml
new file mode 100644
index 0000000..616c3f4
--- /dev/null
+++ b/settings.xml
@@ -0,0 +1,4 @@
+
+
+ /Users/huzhou/maven.repo
+
\ No newline at end of file
diff --git a/src/main/java/org/msgpack/rpc/Request.java b/src/main/java/org/msgpack/rpc/Request.java
index a0007e1..8ef4759 100644
--- a/src/main/java/org/msgpack/rpc/Request.java
+++ b/src/main/java/org/msgpack/rpc/Request.java
@@ -22,7 +22,9 @@
import org.msgpack.rpc.transport.MessageSendable;
public class Request implements Callback