Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete methods from Akka.IO #6456

Merged
merged 2 commits into from Feb 27, 2023

Conversation

Arkatufus
Copy link
Contributor

No description provided.

@@ -76,12 +76,6 @@ public abstract class AbstractSocketOptionV2 : SocketOptionV2 { }
/// </summary>
public class DatagramChannelCreator : SocketOption
{
[Obsolete(message:"Please use the method with AddressFamily parameter. Using this method will always return an IPv6 bound UDP endpoint.")]
public virtual Socket Create()
Copy link
Contributor Author

@Arkatufus Arkatufus Feb 27, 2023

Choose a reason for hiding this comment

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

Obsolete since v1.4.28 (2 years)

@@ -176,12 +176,6 @@ public NoAck(object token)
/// </summary>
public sealed class Send : Command
{
[Obsolete("Akka.IO.Udp.Send public constructors are obsolete. Use `Send.Create` or `Send(ByteString, EndPoint, Event)` instead.")]
public Send(IEnumerator<ByteBuffer> payload, EndPoint target, Event ack)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Obsolete since v1.3.13 (6 years)

@@ -165,12 +165,6 @@ public NoAck(object token)
/// </summary>
public sealed class Send : Command
{
[Obsolete("Akka.IO.Udp.Send public constructors are obsolete. Use `Send.Create` or `Send(ByteString, EndPoint, Event)` instead.")]
public Send(IEnumerator<ByteBuffer> payload, Event ack)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Obsolete since v1.3.13 (6 years)

@@ -46,27 +46,6 @@ public static UdpSettings Create(Config config)
fileIoDispatcher: config.GetString("file-io-dispatcher", "akka.actor.default-dispatcher"));
}

// directBufferSize and maxDirectBufferPoolSize parameter are byterot, remove this in v1.5
[Obsolete("Please the constructor without directBufferSize and maxDirectBufferPoolSize parameter")]
public UdpSettings(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Obsolete since 1.4.28

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.

LGTM

@Aaronontheweb Aaronontheweb merged commit 3ec5ea0 into akkadotnet:dev Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants