Skip to content

Commit

Permalink
完善注释,统一接口方法
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyuttt committed Aug 24, 2018
1 parent 17a4503 commit 86e6dc6
Show file tree
Hide file tree
Showing 24 changed files with 144 additions and 37 deletions.
103 changes: 103 additions & 0 deletions .metadata/.log
Original file line number Diff line number Diff line change
Expand Up @@ -7467,3 +7467,106 @@ Java Model Exception: Java Model Status [shoutdown [in UDTClient [in [Working co
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!SUBENTRY 1 org.eclipse.jdt.core 4 969 2018-08-25 02:06:59.500
!MESSAGE shoutdown [in UDTClient [in [Working copy] UDTClient.java [in udt [in src [in judt]]]]] does not exist
!SESSION 2018-08-25 03:53:02.848 -----------------------------------------------
eclipse.buildId=4.8.0.I20180611-0500
java.version=10.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.core 2 0 2018-08-25 03:54:56.133
!MESSAGE Builtin LFS support not present/detected
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.jgit.lfs.BuiltinLFS cannot be found by org.eclipse.egit.core_5.0.0.201806131550-r
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:508)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:291)
at org.eclipse.egit.core.Activator.registerBuiltinLFS(Activator.java:279)
at org.eclipse.egit.core.Activator.start(Activator.java:212)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:114)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:505)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:392)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at org.eclipse.egit.ui.Activator$RepositoryChangeScanner.<init>(Activator.java:921)
at org.eclipse.egit.ui.Activator.setupRepoChangeScanner(Activator.java:1034)
at org.eclipse.egit.ui.Activator.start(Activator.java:336)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:114)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:505)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:392)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:470)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:609)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:177)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:931)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:60)
at org.eclipse.ui.internal.services.WorkbenchServiceRegistry.getSourceProviders(WorkbenchServiceRegistry.java:174)
at org.eclipse.ui.internal.services.SourceProviderService.readRegistry(SourceProviderService.java:104)
at org.eclipse.ui.internal.Workbench$34.runWithException(Workbench.java:2378)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:144)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4567)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:95)
at org.eclipse.ui.internal.Workbench.initializeDefaultServices(Workbench.java:2373)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1654)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2859)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:654)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)

!ENTRY org.eclipse.egit.ui 2 0 2018-08-25 03:55:17.599
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\jinyu'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_m6D8ma3uEeeY5aBg1wyC7w" elementId="org.eclipse.ui.workbench.file">
<tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_XYp7gKfGEei-uqCey3aDbA" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_m6FzZK3uEeeY5aBg1wyC7w"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_lUZ09KfXEeiWtJVGoW6ubw" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_m6FzZK3uEeeY5aBg1wyC7w"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_m6D8pq3uEeeY5aBg1wyC7w" elementId="additions" toBeRendered="false">
<tags>toolbarSeparator</tags>
Expand Down Expand Up @@ -523,7 +523,7 @@
</children>
<children xsi:type="menu:ToolBar" xmi:id="_m6D9Bq3uEeeY5aBg1wyC7w" elementId="org.eclipse.ui.workbench.navigate">
<tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_XYuM8KfGEei-uqCey3aDbA" elementId="org.eclipse.ui.window.pinEditor" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_m6FzB63uEeeY5aBg1wyC7w"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_lUf7kKfXEeiWtJVGoW6ubw" elementId="org.eclipse.ui.window.pinEditor" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_m6FzB63uEeeY5aBg1wyC7w"/>
</children>
<children xsi:type="menu:ToolBar" xmi:id="_m6D9EK3uEeeY5aBg1wyC7w" elementId="group.editor" toBeRendered="false">
<tags>toolbarSeparator</tags>
Expand Down
23 changes: 23 additions & 0 deletions .metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,29 @@
</section>
<section name="completion_proposal_size">
</section>
<section name="JarPackageWizard">
<item value="false" key="JarPackageWizardPage.INCLUDE_DIRECTORY_ENTRIES"/>
<item value="" key="JarManifestWizardPage.MANIFEST_LOCATION"/>
<item value="false" key="JarManifestWizardPage.SEAL_JAR"/>
<item value="true" key="JarPackageWizardPage.COMPRESS"/>
<item value="false" key="JarManifestWizardPage.REUSE_MANIFEST"/>
<item value="false" key="jarOptionsWizardPage.STORE_USE_SRC_FOLDERS"/>
<item value="true" key="jarOptionsWizardPage.EXPORT_WARNINGS"/>
<item value="" key="jarOptionsWizardPage.DESCRIPTION_LOCATION"/>
<item value="true" key="jarOptionsWizardPage.BUILD_IF_NEEDED"/>
<item value="false" key="JarPackageWizardPage.EXPORT_JAVA_FILES"/>
<item value="true" key="jarOptionsWizardPage.EXPORT_ERRORS"/>
<item value="true" key="JarManifestWizardPage.GENERATE_MANIFEST"/>
<item value="true" key="JarPackageWizardPage.EXPORT_CLASS_FILES"/>
<item value="false" key="JarPackageWizardPage.OVERWRITE"/>
<item value="false" key="jarOptionsWizardPage.SAVE_DESCRIPTION"/>
<item value="false" key="JarPackageWizardPage.REFACTORINGS"/>
<item value="false" key="JarManifestWizardPage.SAVE_MANIFEST"/>
<item value="false" key="JarPackageWizardPage.EXPORT_OUTPUT_FOLDER"/>
<list key="JarPackageWizardPage.DESTINATION_NAMES_ID">
<item value="judt.jar"/>
</list>
</section>
<section name="JavaElementSearchActions">
</section>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -434,3 +434,4 @@ Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to tra
2018-08-25 00:39:50,208 [Worker-6: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
2018-08-25 00:46:23,985 [Worker-8: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2018-08-25 01:52:23,002 [Worker-0: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
2018-08-25 03:55:16,859 [Worker-3: Loading available Gradle versions] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Cached timestamps
#Sat Aug 25 03:37:17 CST 2018
#Sat Aug 25 03:56:10 CST 2018
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
</list>
</section>
<section name="ImportExportAction">
<item value="org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizard" key="ImportExportPage.STORE_SELECTED_EXPORT_WIZARD_ID"/>
<item value="org.eclipse.ui.wizards.import.ExternalProject" key="ImportExportPage.STORE_SELECTED_IMPORT_WIZARD_ID"/>
<list key="ImportExportPage.STORE_EXPANDED_IMPORT_CATEGORIES">
<item value="org.eclipse.ui.Basic"/>
</list>
<list key="ImportExportPage.STORE_EXPANDED_EXPORT_CATEGORIES">
<item value="org.eclipse.jdt.ui.Java"/>
</list>
</section>
</section>
2 changes: 1 addition & 1 deletion .metadata/version.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Sat Aug 25 01:50:47 CST 2018
#Sat Aug 25 03:54:48 CST 2018
org.eclipse.core.runtime=2
org.eclipse.platform=4.8.0.v20180611-0500
4 changes: 0 additions & 4 deletions judt/bin/.gitignore

This file was deleted.

14 changes: 9 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
5.UDTInputStream���Ӵ����ݽ��շ����ӿ�resetBufMaster��setLargeRead����Ϊ���ݻḲ�ǣ��ٶ�ȡ��ʱ��
6.�޸�UDTSender���������жϣ�����ȫ�������򷵻�true,f����false
7.UDTClient�޸ģ�����close�ֶμ��߳��ֶΣ�����close�����ȴ�10s���ݷ��ͣ�ԭ����shutdown������ֱ�������ر�
2.��װ���� judp��net.File��2����Ϊ��չ��װ����Ӱ��Դ����ʹ��

��.��װ���� judp��net.File��2����Ϊ��չ��װ����Ӱ��Դ����ʹ��
��1��judp ��ҪΪ�˽������˲����ܴ���Ч��sesion����
1.SocketManager����ʹ�ã��ⲿʹ�ò��ڹ�������Ҫ�Լ�ʹ����ɺ�ر�

2.judpClient��װUDTClient���ݷ��Ͷ�
Expand All @@ -17,11 +17,15 @@

4.judpSocket��װUDTServerSocket���ص�udtsocket

5.RecviceFiles��װ�ļ����գ����շ�װ�������±�д(Դ���ļ�����û�ж���
5.judpRecviceFile �ǿͻ��������������ļ������շ���˴��ص��ļ���

6.judpSendFiles �Ƿ���ˣ����տͻ���������ͻ��˴����ļ�
�ⲿ�ֵ��ļ������� net.File���ֵĴ��䷽��ǡ���෴
��2�� net.File ͨ����װ��judp�����ļ����䣬ͬʱ�ṩĿ¼���ӹ���
1.RecviceFiles��װ�ļ����գ����շ�װ����judp�������±�д(Դ���ļ�����û�ж����������ֱ�ӽ��տͻ��˴������ļ�

6.SendFiles��װ�ļ����ͣ����շ�װ�������±�д(Դ���ļ�����û�ж���
2.SendFiles��װ�ļ����ͣ����շ�װ�������±�д(Դ���ļ�����û�ж������ͻ���ֱ�������˷����ļ

7.judpRecviceFile �����ļ���Ҫ������RecviceFilesֱ�ӽ����ļ���2��������ҵ���õķ�ʽ���ѣ�����һ��

����ʱ�䣨�������ݼ�update.txt��
2018-08-25
Expand Down
24 changes: 0 additions & 24 deletions 更新说明.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 86e6dc6

Please sign in to comment.