[
https://jira.jboss.org/jira/browse/JGRP-278?page=com.atlassian.jira.plugi...
]
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