/* * Mobicents Media Gateway * * The source code contained in this file is in in the public domain. * It can be used in any project or product without prior permission, * license or royalty payments. There is NO WARRANTY OF ANY KIND, * EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, * THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, * AND DATA ACCURACY. We do not warrant or make any representations * regarding the use of the software or the results thereof, including * but not limited to the correctness, accuracy, reliability or * usefulness of the software. */ package org.mobicents.media.server.impl.rtp; import java.io.Serializable; /** * Receive events related to RtpSocketAdaptor. * * @author Oleg Kulikov */ public interface RtpSocketListener extends Serializable { /** * This method is call when some exceptions detected. * * @param e the exception detected by RtpSocketAdaptor. */ public void error(Exception e); }