implemented JNClientOutputStream