You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In places where we call IExecutor::Callback::Any registerCallback(IExecutor::Callback::Function&& function) on object (e.g. IRxSocket in the udp transport) there is no well-defined way to return a failure.
The text was updated successfully, but these errors were encountered:
I'm using flyweight objects which are not real sockets. There is a chance that the real socket got deleted which leaves the flyweights as orphans. I have no way to signal that the object is no longer initialized even if the C++ object remains well-formed.
Additionally, the only way I can schedule sockets after the registerCallback method was called is to save a pointer to the callback's interface. getInterface can return null and I have no way to signal that this isn't acceptable; that the callback created by the IExecutor is not valid for the socket.
In places where we call
IExecutor::Callback::Any registerCallback(IExecutor::Callback::Function&& function)
on object (e.g. IRxSocket in the udp transport) there is no well-defined way to return a failure.The text was updated successfully, but these errors were encountered: