[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] Remote Connection Rename Event
|
Hi Doug,
Speaking for myself, everything is pretty good at the moment, thanks. Yes, that event does seem pretty useless, and I’m pretty sure that it was not meant to be a pre-rename event. I’d be comfortable if you fixed it so that it works the way you’d expect, then dealing with any regressions it might cause later.
Regards,
Greg
> On Apr 7, 2016, at 3:24 PM, Doug Schaefer <cdtdoug@xxxxxxxxx> wrote:
>
> Hey gang,
>
> I'm hoping all are well. I have an o.e.remote connection question. We're trying to deal with connection renames. There is an CONNECTION_RENAMED event but it's sent before the name of the connection is changed (despite what the documentation says) and there's no way to know what the new name is.
>
> Any thoughts on how we could get that information? And we're trying to do it without an API change. One thought would be to add a new event type for the post name changed event when the connection has the new name.
>
> Also given that the event is currently a pre-rename event which seems almost useless, is anyone using it in PTP land. We could also fix it to be the proper renamed event and add a pre-rename one.
>
> Ideally we'd have a rename event with that has both the old and new name available so you can process it properly. Having two events, you end up forcing to do a remove and an add which kind of eliminates the advantage of having a rename event.
>
> Hope that made sense and thanks!
> Doug.
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ptp-dev