[jboss-jira] [JBoss JIRA] Commented: (JGRP-278) Externalization of socket creation in TCP/TCP_NIO (BasicTCP)

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon Apr 26 02:40:10 EDT 2010


    [ https://jira.jboss.org/jira/browse/JGRP-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12527493#action_12527493 ] 

Bela Ban commented on JGRP-278:
-------------------------------

The SPI should have the following methods:

- Create a socket (multicast, datagram, server socket):
   - Parameters: bind address, port, description (e.g. "diagnostics listener", "UDP receiver")

- Close a socket
   - Parameters: socket handle (or bind address and port ?)

- Register a listener which gets callbacks when sockets are created or closed

- Get a list of open sockets (bind addresses, ports and descriptions)

> Externalization of socket creation in TCP/TCP_NIO (BasicTCP)
> ------------------------------------------------------------
>
>                 Key: JGRP-278
>                 URL: https://jira.jboss.org/jira/browse/JGRP-278
>             Project: JGroups
>          Issue Type: Feature Request
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.10
>
>
> User configures a socket factory which creates client and server sockets. There is always 1 default factory configured. This allows developers to override socket creation, e.g. for use with SSL sockets. This way, TCP and TCP_NIO can be used with SSL.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list