public ED2KFileLink CreateED2KFileLink(string pszName,
                                        string pszSize,
                                        string pszHash,
                                        string[] allParams,
                                        string pszSources)
 {
     return(MpdObjectManager.CreateObject(typeof(ED2KFileLinkImpl), pszName, pszSize, pszHash, allParams, pszSources) as ED2KFileLink);
 }
Beispiel #2
0
 private object CreateObject(string configFullTypeName,
                             string defaultFullName)
 {
     if (string.IsNullOrEmpty(configFullTypeName))
     {
         return(MpdObjectManager.CreateObject(Type.GetType(defaultFullName)));
     }
     else
     {
         return(MpdObjectManager.CreateObject(Type.GetType(configFullTypeName)));
     }
 }
Beispiel #3
0
 public UpDownClient CreateUpDownClient(params object[] args)
 {
     return(MpdObjectManager.CreateObject(typeof(UpDownClientImpl), args) as UpDownClient);
 }
Beispiel #4
0
 public FileIdentifier CreateFileIdentifier(params object[] args)
 {
     return(MpdObjectManager.CreateObject(typeof(FileIdentifierImpl), args) as FileIdentifier);
 }
Beispiel #5
0
 public KnownFile CreateKnownFile()
 {
     return(MpdObjectManager.CreateObject(typeof(KnownFileImpl)) as KnownFile);
 }
Beispiel #6
0
 public PartFile CreatePartFile(params object[] parameters)
 {
     return(MpdObjectManager.CreateObject(typeof(PartFileImpl), parameters) as PartFile);
 }
 public ED2KFileTypes CreateED2KFileTypes()
 {
     return(MpdObjectManager.CreateObject(typeof(ED2KFileTypesImpl)) as ED2KFileTypes);
 }
 public ED2KServerListLink CreateED2KServerListLink(string address)
 {
     return(MpdObjectManager.CreateObject(typeof(ED2KServerListLinkImpl), address) as ED2KServerListLink);
 }
 public UnresolvedHostname CreateUnresolvedHostname()
 {
     return(MpdObjectManager.CreateObject(typeof(UnresolvedHostnameImpl)) as UnresolvedHostname);
 }
 public ED2KServerLink CreateED2KServerLink(string ip, string port)
 {
     return(MpdObjectManager.CreateObject(typeof(ED2KServerLinkImpl), ip, port) as ED2KServerLink);
 }
 public ProxySettings CreateProxySettings()
 {
     return(MpdObjectManager.CreateObject(typeof(ProxySettingsImpl)) as ProxySettings);
 }
 public MuleStatistics CreateStatistics()
 {
     return(MpdObjectManager.CreateObject(typeof(MuleStatisticsImpl)) as MuleStatistics);
 }