Hello,
i am new java beginner and have some problems when i try to add "ListeningPoint" in mye class.
I got some error massege like this, but can not fix it:
<identifier> expected
[javac] myListeningPoint = sipStack.createListeningPoint(port, "udp");
[javac] ^
[javac] 1 error
can you please help me ??
Here is the class:
package javax.sip;
import javax.sip.address.Router;
import java.util.*;
public interface SipStack {
public SipProvider createSipProvider(ListeningPoint listeningPoint)
throws ObjectInUseException;
public void deleteSipProvider(SipProvider sipProvider)
throws ObjectInUseException;
public Iterator getSipProviders();
public ListeningPoint createListeningPoint(int port, String transport)
throws TransportNotSupportedException, InvalidArgumentException;
ListeningPoint myListeningPoint();
myListeningPoint= sipStack.createListeningPoint(port, "udp");
public void deleteListeningPoint(ListeningPoint listeningPoint)
throws ObjectInUseException;
public Iterator getListeningPoints();
*/
public String getStackName();
*/
public String getIPAddress();
*/
public Router getRouter();
public boolean isRetransmissionFilterActive();
}