Skip to content

Conversation

Horusiath
Copy link
Contributor

This PR aims to provide the same send semantics over UDP connection, as the one used by TcpConnection, that were introduced by @Aaronontheweb in #3023

@Aaronontheweb
Copy link
Member

@Horusiath oh snap, I was in the middle of implementing this myself. I'll review yours instead

@alexvaluyskiy alexvaluyskiy added this to the 1.3.1 milestone Aug 31, 2017
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pulled this down to my local machine and added some tests, which do not pass. Going to push some changes back shortly.

@@ -34,7 +34,7 @@ protected override bool Receive(object message)
{
case UdpConnected.Connect connect:
{
var commander = Sender;
var commander = Sender; // NOTE: Aaronontheweb (9/1/2017) this should probably be the Handler...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a bug to me; the .Handler property on the Connect message is never actually used... But changing it now would be a breaking change for anyone who has ever used this feature. Decided to just take note of it and punt on it until a later time in the interests of fixing sending behavior first.

@Aaronontheweb Aaronontheweb merged commit 47327a8 into akkadotnet:dev Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants