mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-05 04:49:31 +00:00
Refactor LinphonecoreFactory
This commit is contained in:
parent
bf88d70ea3
commit
a9a5d5d19a
3 changed files with 41 additions and 4 deletions
|
|
@ -28,4 +28,29 @@ class LinphoneAuthInfoImpl implements LinphoneAuthInfo {
|
|||
protected void finalize() throws Throwable {
|
||||
delete(nativePtr);
|
||||
}
|
||||
public String getPassword() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
public String getRealm() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
public String getUsername() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
public void setPassword(String password) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
|
||||
}
|
||||
public void setRealm(String realm) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
public void setUsername(String username) {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,10 +72,7 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
addAuthInfo(nativePtr,((LinphoneAuthInfoImpl)info).nativePtr);
|
||||
}
|
||||
|
||||
public synchronized LinphoneProxyConfig createProxyConfig(String identity, String proxy,String route,boolean enableRegister) throws LinphoneCoreException {
|
||||
isValid();
|
||||
return new LinphoneProxyConfigImpl(identity, proxy, route,enableRegister);
|
||||
}
|
||||
|
||||
|
||||
public synchronized LinphoneProxyConfig getDefaultProxyConfig() {
|
||||
isValid();
|
||||
|
|
|
|||
|
|
@ -97,4 +97,19 @@ class LinphoneProxyConfigImpl implements LinphoneProxyConfig {
|
|||
public void setDialEscapePlus(boolean value) {
|
||||
setDialEscapePlus(nativePtr,value);
|
||||
}
|
||||
public String getIdentity() {
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
public String getProxy() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
public boolean isRegistered() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
public boolean registerEnabled() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new RuntimeException("not implemeneted yet");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue