You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Sahan Gamage <sa...@wso2.com> on 2006/01/02 12:36:27 UTC

[Axis2] Removing stream from environment

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

According to the current source as well as our design, I think we
don't need to keep the stream in the environment. Whenever a stream is
needed they are passed to the function explicitly. For the logging and
error reporting requirements the log object and the error object in
the environment can be used. So I don't see any logical reason behind
keping the stream in the environment.
For the places where stream is required (specially IO functions) a
stream can be created corresponding to the desired IO mtd. (file,
socket, byte_array .. etc).

Any thoughts ?

- - Sahan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQEVAwUBQ7kQOqnIlEsDdb85AQJ/mggAgRGpAReOsQBh13XnI0WLfjA+mcmq/mlO
8PYZAoBDOIvjSuMDItequubhad8gmV48lRZ18I8YxLw9OQgq4IiUG6xhk7mUZvqW
ix+MGp8Yd8NrbzTfqBQ4T7ui35/3EBn+/tXUt1u3KoLp2hnMUne8YvlSL5R60PTA
EYyQIF5TiloPPHYVXIgkMGZF1Jg23SM4r45xoZhx8nJrCGgjrVMNxqOGo1BTbMMY
RxwmEex9jKomkjGnpYjM6bnR6YuqeqnuQVxNdHqHgOCWOGkqx2Qk6yGmgmPOFIAC
lLkIdT3zn7eXA2qeTfFUrOqUU9IFFe0iA/q+LiCpiTUy0+T9UZZwkA==
=XgQ5
-----END PGP SIGNATURE-----


Re: [Axis2] Removing stream from environment

Posted by Sahan Gamage <sa...@wso2.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sahan Gamage wrote:

> Hi,
>
> According to the current source as well as our design, I think we
> don't need to keep the stream in the environment. Whenever a stream
> is needed they are passed to the function explicitly. For the
> logging and error reporting requirements the log object and the
> error object in the environment can be used. So I don't see any
> logical reason behind keping the stream in the environment. For the
> places where stream is required (specially IO functions) a stream
> can be created corresponding to the desired IO mtd. (file, socket,
> byte_array .. etc).
>
> Any thoughts ?
>
> - Sahan


Hi,

I have removed the stream form the env since I didn't see any use of
it or any logic keeping it inside the env.
Pls apply the patches and commit the code.

- - Sahan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQEVAwUBQ8HfxanIlEsDdb85AQITZggAj7xe41kJ3AMG65FJ+tnVopt1wDnUwUM/
NZ4qRjgcRMsErmDMunEkT2jAe5GyKMKH9OGvDU1E2pu7b03dGekpxUu5d6DJqwbW
Nj3lyC3qa8GJgVeKIckpTQg5zko4LTk8ap47PdeBQU9xF+BUc8jwsIbrB+0kgmdI
d1NfGl3Un3U5gPRKPd11lpX36a6eXfbmaECiHI96Fm/0wCk+IRsl/TL5q/yV0Jev
BftRrxqhxuywyZTriCSNzVtSmlPTMVfQPa1WR9YllWjmkEYEOuP6ZA0IV9xExnRf
56mrm/Jbi0R6dkZVBEZ7jq5JLqpjXciC0X/wW2Ab+F+SYVzt6rmH2Q==
=Oo/d
-----END PGP SIGNATURE-----