' warning: conflicting behaviours - callback handle/1 required by both ...'
Or perhaps there is a better way for me to implement the following:
I need to manage a pool of clients that can connect to my server with both a reliable UDP (read customer stack) and TCP connections. Each client needs to support both, with the RUDP connection coming up first, moving to the TCP connection after the exchange to messages, and using the RUDP connection as a fall back. So, my server needs to maintain the connection state for each client and decide with connection to use for outgoing messages. I don't control the legacy clients :(
I use Reagent for the TCP connections, and created modeled my own Rudp behaviour after Reagent, where the Reagent.start returns the pid of the already started gen_server. I use both behaviours in the genserver issuing the compiler warning above. I don't see any reason what this should not work, and therefore would like to block the warning.
Steve