Menu

#2 Change static protocol strings to an enum in SipProvider

jjsip Trunk
open
nobody
2
2009-04-13
2009-04-09
Brent
No

Currently:

/** UDP protocol type */
public static final String PROTO_UDP = "udp";
/** TCP protocol type */
public static final String PROTO_TCP = "tcp";
/** TLS protocol type */
public static final String PROTO_TLS = "tls";
/** SCTP protocol type */
public static final String PROTO_SCTP = "sctp";

but should be converted to an enum instead.

Discussion

  • Brent

    Brent - 2009-04-13
    • milestone: 898743 --> jjsip Trunk
     
  • Brent

    Brent - 2009-06-12

    I've changed the fields themselves, but I still need to go through and change the references to the fields everywhere to use the actual enum values instead of Strings.

     
  • Brent

    Brent - 2009-10-09

    The same enum should be used in the class in bug #2875441.

    There may be other classes defining these redundantly elsewhere, too.

     

Log in to post a comment.