net.java.sip.communicator.service.neomedia
Class MediaTypeSrtpControl
java.lang.Object
net.java.sip.communicator.service.neomedia.MediaTypeSrtpControl
- All Implemented Interfaces:
- Comparable<MediaTypeSrtpControl>
public class MediaTypeSrtpControl
- extends Object
- implements Comparable<MediaTypeSrtpControl>
Utility class to combine MediaType and SrtpControlType as a
map key.
- Author:
- Ingo Bauersachs
mediaType
public final MediaType mediaType
- The media type.
srtpControlType
public final SrtpControlType srtpControlType
- The SRTP control type.
MediaTypeSrtpControl
public MediaTypeSrtpControl(MediaType mt,
SrtpControlType sct)
- Creates a new instance of this class.
- Parameters:
mt - The MediaType for this key.sct - The SrtpControlType for this key.
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
compareTo
public int compareTo(MediaTypeSrtpControl o)
- Specified by:
compareTo in interface Comparable<MediaTypeSrtpControl>
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.