Skip to content

Connection pointer available via request object #22

Closed
wants to merge 2 commits into from

2 participants

@russjancewicz

Adds a pointer to the xmlrpc connection inside of the request itself,
this allows for the delegate response handler to access the connection
via

[request connection];

and more importantly the connection's uuid identifier via

[[request connection] identifier];

this allows for a single delegate class to dispatch responses uniquely
based on their uuid, essentially providing a direct mapping external to
the rpc client.

This patch also should not impact existing clients as it doesn't change
any delegate requirements, but simply passively exposes the connection
to those who desire it.

Russell Janc... and others added some commits May 22, 2012
Russell Jancewicz Include Connection In Request Object
Adds a pointer to the xmlrpc connection inside of the request itself,
this allows for the delegate response handler to access the connection
via

[request connection];

and more importantly the connection's uuid identifier via

[[request connection] identifier];

this allows for a single delegate class to dispatch responses uniquely
based on their uuid, essentially providing a direct mapping external to
the rpc client.

This patch also should not impact existing clients as it doesn't change
any delegate requirements, but simply passively exposes the connection
to those who desire it.
5b59d2e
@russjancewicz russjancewicz Release internal connection prior to setting again db5e24f
@eczarny eczarny closed this Sep 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.