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

IOManager: support setting socket options #440

Merged
merged 1 commit into from May 11, 2012
Merged

Conversation

srp
Copy link
Contributor

@srp srp commented May 8, 2012

Note: This is not backwards compatible and should only be included in 2.1

This is a potential fix for: https://www.assembla.com/spaces/akka/tickets/2048

Note: This is not backwards compatible and should only be included in 2.1
* @param socketOwner the [[akka.actor.ActorRef]] that should receive events
* associated with the SocketChannel. The ActorRef for the
* current Actor will be used implicitly.
* @return a new SocketHandle that can be used to perform actions on the
* new connection's SocketChannel.
*/
def accept()(implicit socketOwner: ActorRef): SocketHandle = {
def accept(options: Seq[SocketOption])(implicit socketOwner: ActorRef): SocketHandle = {
Copy link
Member

Choose a reason for hiding this comment

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

default argument with Seq.empty and remove the accept overload?

@viktorklang
Copy link
Member

What's the status Sean?

@srp
Copy link
Contributor Author

srp commented May 10, 2012

Sorry, rather busy day at work yesterday

sRp
On May 10, 2012 3:40 AM, "viktorklang" <
reply@reply.github.com>
wrote:

What's the status Sean?


Reply to this email directly or view it on GitHub:
#440 (comment)

@viktorklang
Copy link
Member

No worries, let me know when it's ready for prime-time and the CLA is signed so I can move it into master.

Great job!

@srp
Copy link
Contributor Author

srp commented May 10, 2012

Signed cla yesterday
On May 10, 2012 6:08 AM, "viktorklang" <
reply@reply.github.com>
wrote:

No worries, let me know when it's ready for prime-time and the CLA is
signed so I can move it into master.

Great job!


Reply to this email directly or view it on GitHub:
#440 (comment)

@viktorklang
Copy link
Member

Alright, I'm merging in this now.

viktorklang added a commit that referenced this pull request May 11, 2012
IOManager: support setting socket options
@viktorklang viktorklang merged commit 0879c0e into akka:master May 11, 2012
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.

None yet

2 participants