From e02d5b50a96056ae0f91b09d37afb4a61e67dc4e Mon Sep 17 00:00:00 2001 From: mirimatcode Date: Fri, 3 Feb 2023 12:21:40 +0100 Subject: [PATCH] inserimento codice socket udp --- .gitignore | 149 +- ClientAccademico/build/built-jar.properties | 4 - .../clientaccademico/ClientAccademico.class | Bin 1503 -> 0 bytes ClientPersistente/build/built-jar.properties | 4 - .../build/classes/.netbeans_automatic_build | 0 .../build/classes/.netbeans_update_resources | 0 .../clientpersistente/ClientPersistente.class | Bin 2719 -> 0 bytes ClientSconnesso/build.xml | 73 + .../build/classes/.netbeans_automatic_build | 0 .../build/classes/.netbeans_update_resources | 0 .../clientsconnesso/ClientSconnesso.class | Bin 0 -> 994 bytes ClientSconnesso/manifest.mf | 3 + ClientSconnesso/nbproject/build-impl.xml | 1771 +++++++++++++++++ ClientSconnesso/nbproject/genfiles.properties | 8 + .../nbproject/private/private.properties | 2 + ClientSconnesso/nbproject/private/private.xml | 4 + ClientSconnesso/nbproject/project.properties | 97 + ClientSconnesso/nbproject/project.xml | 15 + .../src/clientsconnesso/ClientSconnesso.java | 19 + ServerAccademico/build/built-jar.properties | 4 - .../serveraccademico/ServerAccademico.class | Bin 1485 -> 0 bytes .../nbproject/private/private.properties | 2 +- .../nbproject/private/private.xml | 4 + ServerPersistente/build/built-jar.properties | 4 - .../serverpersistente/ServerPersistente.class | Bin 3061 -> 0 bytes ServerSconnesso/build.xml | 107 + ServerSconnesso/build/built-jar.properties | 4 + .../serversconnesso/ServerSconnesso.class | Bin 0 -> 1363 bytes ServerSconnesso/dist/ServerSconnesso.jar | Bin 0 -> 4534 bytes ServerSconnesso/manifest.mf | 3 + ServerSconnesso/nbproject/build-impl.xml | 1771 +++++++++++++++++ ServerSconnesso/nbproject/genfiles.properties | 8 + .../nbproject/private/private.properties | 2 + ServerSconnesso/nbproject/private/private.xml | 4 + ServerSconnesso/nbproject/project.properties | 97 + ServerSconnesso/nbproject/project.xml | 15 + .../src/serversconnesso/ServerSconnesso.java | 17 + USocket/dist/USocket.jar | Bin 3973 -> 6384 bytes USocket/nbproject/private/private.properties | 2 +- USocket/src/com/mirimatcode/UDatagram.java | 42 + USocket/src/com/mirimatcode/USocket.java | 1 + 41 files changed, 4217 insertions(+), 19 deletions(-) delete mode 100644 ClientAccademico/build/built-jar.properties delete mode 100644 ClientAccademico/build/classes/clientaccademico/ClientAccademico.class delete mode 100644 ClientPersistente/build/built-jar.properties delete mode 100644 ClientPersistente/build/classes/.netbeans_automatic_build delete mode 100644 ClientPersistente/build/classes/.netbeans_update_resources delete mode 100644 ClientPersistente/build/classes/clientpersistente/ClientPersistente.class create mode 100644 ClientSconnesso/build.xml rename {ClientAccademico => ClientSconnesso}/build/classes/.netbeans_automatic_build (100%) rename {ClientAccademico => ClientSconnesso}/build/classes/.netbeans_update_resources (100%) create mode 100644 ClientSconnesso/build/classes/clientsconnesso/ClientSconnesso.class create mode 100644 ClientSconnesso/manifest.mf create mode 100644 ClientSconnesso/nbproject/build-impl.xml create mode 100644 ClientSconnesso/nbproject/genfiles.properties create mode 100644 ClientSconnesso/nbproject/private/private.properties create mode 100644 ClientSconnesso/nbproject/private/private.xml create mode 100644 ClientSconnesso/nbproject/project.properties create mode 100644 ClientSconnesso/nbproject/project.xml create mode 100644 ClientSconnesso/src/clientsconnesso/ClientSconnesso.java delete mode 100644 ServerAccademico/build/built-jar.properties delete mode 100644 ServerAccademico/build/classes/serveraccademico/ServerAccademico.class create mode 100644 ServerAccademico/nbproject/private/private.xml delete mode 100644 ServerPersistente/build/built-jar.properties delete mode 100644 ServerPersistente/build/classes/serverpersistente/ServerPersistente.class create mode 100644 ServerSconnesso/build.xml create mode 100644 ServerSconnesso/build/built-jar.properties create mode 100644 ServerSconnesso/build/classes/serversconnesso/ServerSconnesso.class create mode 100644 ServerSconnesso/dist/ServerSconnesso.jar create mode 100644 ServerSconnesso/manifest.mf create mode 100644 ServerSconnesso/nbproject/build-impl.xml create mode 100644 ServerSconnesso/nbproject/genfiles.properties create mode 100644 ServerSconnesso/nbproject/private/private.properties create mode 100644 ServerSconnesso/nbproject/private/private.xml create mode 100644 ServerSconnesso/nbproject/project.properties create mode 100644 ServerSconnesso/nbproject/project.xml create mode 100644 ServerSconnesso/src/serversconnesso/ServerSconnesso.java create mode 100644 USocket/src/com/mirimatcode/UDatagram.java diff --git a/.gitignore b/.gitignore index 0117bc1..0e8f062 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,148 @@ -/ClientPersistente/dist/ + # Compiled class file + *.class + + # Log file + *.log + + # BlueJ files + *.ctxt + + # Mobile Tools for Java (J2ME) + .mtj.tmp/ + + # Package Files # + *.jar + *.war + *.nar + *.ear + *.zip + *.tar.gz + *.rar + + # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml + hs_err_pid* + replay_pid* + + **/nbproject/private/ + **/nbproject/Makefile-*.mk + **/nbproject/Package-*.bash + build/ + nbbuild/ + dist/ + nbdist/ + .nb-gradle/ + + # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider + .idea/ + cmake-build-*/ + # File-based project format + *.iws + # IntelliJ + out/ + # mpeltonen/sbt-idea plugin + .idea_modules/ + # JIRA plugin + atlassian-ide-plugin.xml + # Crashlytics plugin (for Android Studio and IntelliJ) + com_crashlytics_export_strings.xml + crashlytics.properties + crashlytics-build.properties + fabric.properties + + ### - NetBeans + **/nbproject/private/ + **/nbproject/Makefile-*.mk + **/nbproject/Package-*.bash + build/ + nbbuild/ + nbdist/ + .nb-gradle/ + ### - Visual Studio Code + .vscode/* + !.vscode/settings.json + !.vscode/tasks.json + !.vscode/launch.json + !.vscode/extensions.json + !.vscode/*.code-snippets + # Local History for Visual Studio Code + .history/ + # Built Visual Studio Code Extensions + *.vsix + ### - XCode + ## User settings + xcuserdata/ + ## Xcode 8 and earlier + *.xcscmblueprint + *.xccheckout + + ##### - Linux + + *~ + + # temporary files which can be created if a process still has a handle open of a deleted file + .fuse_hidden* + + # KDE directory preferences + .directory + + # Linux trash folder which might appear on any partition or disk + .Trash-* + + # .nfs files are created when an open file is removed but is still being accessed + .nfs* + + ##### - Windows + + # Windows thumbnail cache files + Thumbs.db + Thumbs.db:encryptable + ehthumbs.db + ehthumbs_vista.db + + # Dump file + *.stackdump + + # Folder config file + [Dd]esktop.ini + + # Recycle Bin used on file shares + $RECYCLE.BIN/ + + # Windows Installer files + *.cab + *.msi + *.msix + *.msm + *.msp + + # Windows shortcuts + *.lnk + + ##### - MacOS + + # General + .DS_Store + .AppleDouble + .LSOverride + + # Icon must end with two \r + Icon + + # Thumbnails + ._* + + # Files that might appear in the root of a volume + .DocumentRevisions-V100 + .fseventsd + .Spotlight-V100 + .TemporaryItems + .Trashes + .VolumeIcon.icns + .com.apple.timemachine.donotpresent + + # Directories potentially created on remote AFP share + .AppleDB + .AppleDesktop + Network Trash Folder + Temporary Items + .apdisk \ No newline at end of file diff --git a/ClientAccademico/build/built-jar.properties b/ClientAccademico/build/built-jar.properties deleted file mode 100644 index dd3cce3..0000000 --- a/ClientAccademico/build/built-jar.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Wed, 01 Feb 2023 15:55:04 +0100 - - -/home/boss/Progetti/ClientAccademico= diff --git a/ClientAccademico/build/classes/clientaccademico/ClientAccademico.class b/ClientAccademico/build/classes/clientaccademico/ClientAccademico.class deleted file mode 100644 index 2ed6ac02c0b0f0b77444fd7f2dd183dafc4dca84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1503 zcmah}+foxj5IvIs6V^o_;UZoT6)-_1;uVZHjG}0wR7LT@r(rV{#_aB-b_bO|@Duz4 z%SU}s%LhNek5YSgQxZ%{vz4Bip6=7v=^sD8eFty@RSPMkIr?n$V}N1grFbQZuJ9Yh zCtEM2V;BamD_@zL4C#DfGlLAn(9+6<#ic9Di$s^NW?(T`WhL~Cw)8)VXu4Jo{mg+rL)IBeqxjxyw8C-%!Q@K&VZ z`UKL$&B7+fbcgEtlY4I**)m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w!Ma zBRGdg#^Ty_9Jqof4DBkO2Ig?s2vHsn8{zAVzZn4|tW?9%XXnuM_2R8rR4cpVvoPYJ zrI{YrjF6$tq2CByGXisXQSAnoX1dZ-KKqT}H6lAPi{^O1pXf?UdFeL-*JjZ&Kp@;1 zA&OblF0D>;bs1s4I3M9tUZbDm3w+7372o1Jj^E=7e&AS-pKycYP29pS95wuk-+3vj z@eWR*8Y<&1TKKKwY6Eu~Xtj}^HX(*aMrh_!(1Lz!rG6_U%bCRvoWo9BKpWo2E@Frg zMU=5)j2>mo7^6lRV;`f%aGTHZADrL89^A!V+{6A-b@Nz9-$#(4*APZ<027!bf-L_R znBq*GFHc*^TDRgGzL^#RME5h!Vwz}glO)FJ+CMlAADs vl^W&kE)A)E4W}ZQA*P@pXa)H^zg0}^MUG)Yf1Q8tGRdkT1U_J@KY{Tt#QVD- diff --git a/ClientSconnesso/build.xml b/ClientSconnesso/build.xml new file mode 100644 index 0000000..73e8ebc --- /dev/null +++ b/ClientSconnesso/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project ClientSconnesso. + + + diff --git a/ClientAccademico/build/classes/.netbeans_automatic_build b/ClientSconnesso/build/classes/.netbeans_automatic_build similarity index 100% rename from ClientAccademico/build/classes/.netbeans_automatic_build rename to ClientSconnesso/build/classes/.netbeans_automatic_build diff --git a/ClientAccademico/build/classes/.netbeans_update_resources b/ClientSconnesso/build/classes/.netbeans_update_resources similarity index 100% rename from ClientAccademico/build/classes/.netbeans_update_resources rename to ClientSconnesso/build/classes/.netbeans_update_resources diff --git a/ClientSconnesso/build/classes/clientsconnesso/ClientSconnesso.class b/ClientSconnesso/build/classes/clientsconnesso/ClientSconnesso.class new file mode 100644 index 0000000000000000000000000000000000000000..ac8f828dc980ba2125fbb553559a107975ef0b7d GIT binary patch literal 994 zcmah{+fEZv6kVsKOgjwp1_(u^cx?eY7UdSy7tn;H6_RRSd^#OYhJ&3sWO_jS1E2g2 zpYZ{W4}O3jrS3CeESAJJ*^_-+YwdmZkDuSZ19*yc8wn&W3^_<)m?3w-kGb3Bq3`Z= z4uq!}hM&k#>SqkeO0}Ivnjya_xhnHOdaB$L(Xoiquo*_{>r1uz%37^ntFJEGa4>3N z%t018hG|a)ZXhEWaP6r*;lAGDn)?wC7)IVjQj3<3Wau+gDviG)&Vw7s;8#G#fd%wQZ77A75B!_=jjTJL*W5Mxpu(PR_nsMNem)S9>i4>oM%QF1VY z>kPIpbW`+t+!qYvmFl1j8#gg)q3mD|xBBGtAu?Ep2EQ8;{Z8IdqN&mL`R&APjA=k|0cK8|>|OF)`ZD^a z=D&cQ#_4-xP1@M|WS#Q@R8S=^gLy0vh-vjPzg4HNw^2HAeUor9tW6jSfE}mif z3^z`xIY|&%I;JEHbctXAo4iqq=O{B4+Y(h6x-w;QlwZVySn&*Mq!JXJ!b8*vZ;8Aj d62GW5Vd0U5$6yxnHdZK+VpI>RS|yvn+HbbD=9T~e literal 0 HcmV?d00001 diff --git a/ClientSconnesso/manifest.mf b/ClientSconnesso/manifest.mf new file mode 100644 index 0000000..328e8e5 --- /dev/null +++ b/ClientSconnesso/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/ClientSconnesso/nbproject/build-impl.xml b/ClientSconnesso/nbproject/build-impl.xml new file mode 100644 index 0000000..d99b38e --- /dev/null +++ b/ClientSconnesso/nbproject/build-impl.xml @@ -0,0 +1,1771 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ClientSconnesso/nbproject/genfiles.properties b/ClientSconnesso/nbproject/genfiles.properties new file mode 100644 index 0000000..884d81f --- /dev/null +++ b/ClientSconnesso/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=3637ba01 +build.xml.script.CRC32=a66f0622 +build.xml.stylesheet.CRC32=f85dc8f2@1.105.0.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=3637ba01 +nbproject/build-impl.xml.script.CRC32=2a0a287b +nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.105.0.48 diff --git a/ClientSconnesso/nbproject/private/private.properties b/ClientSconnesso/nbproject/private/private.properties new file mode 100644 index 0000000..1a2f6d1 --- /dev/null +++ b/ClientSconnesso/nbproject/private/private.properties @@ -0,0 +1,2 @@ +compile.on.save=true +user.properties.file=/home/docente/.netbeans/16/build.properties diff --git a/ClientSconnesso/nbproject/private/private.xml b/ClientSconnesso/nbproject/private/private.xml new file mode 100644 index 0000000..4750962 --- /dev/null +++ b/ClientSconnesso/nbproject/private/private.xml @@ -0,0 +1,4 @@ + + + + diff --git a/ClientSconnesso/nbproject/project.properties b/ClientSconnesso/nbproject/project.properties new file mode 100644 index 0000000..6ea5504 --- /dev/null +++ b/ClientSconnesso/nbproject/project.properties @@ -0,0 +1,97 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.modulepath=\ + ${run.modulepath} +debug.test.classpath=\ + ${run.test.classpath} +debug.test.modulepath=\ + ${run.test.modulepath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/ClientSconnesso.jar +dist.javadoc.dir=${dist.dir}/javadoc +dist.jlink.dir=${dist.dir}/jlink +dist.jlink.output=${dist.jlink.dir}/ClientSconnesso +excludes= +file.reference.USocket.jar=/home/docente/Modelli/USocket.jar +includes=** +jar.compress=false +javac.classpath=\ + ${file.reference.USocket.jar} +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.external.vm=true +javac.modulepath= +javac.processormodulepath= +javac.processorpath=\ + ${javac.classpath} +javac.source=17 +javac.target=17 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.modulepath=\ + ${javac.modulepath} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.html5=false +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +# The jlink additional root modules to resolve +jlink.additionalmodules= +# The jlink additional command line parameters +jlink.additionalparam= +jlink.launcher=true +jlink.launcher.name=ClientSconnesso +main.class=clientsconnesso.ClientSconnesso +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.modulepath=\ + ${javac.modulepath} +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +run.test.modulepath=\ + ${javac.test.modulepath} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/ClientSconnesso/nbproject/project.xml b/ClientSconnesso/nbproject/project.xml new file mode 100644 index 0000000..c30d994 --- /dev/null +++ b/ClientSconnesso/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + ClientSconnesso + + + + + + + + + diff --git a/ClientSconnesso/src/clientsconnesso/ClientSconnesso.java b/ClientSconnesso/src/clientsconnesso/ClientSconnesso.java new file mode 100644 index 0000000..c68f437 --- /dev/null +++ b/ClientSconnesso/src/clientsconnesso/ClientSconnesso.java @@ -0,0 +1,19 @@ +package clientsconnesso; + +import com.mirimatcode.UDatagram; +import java.io.IOException; + +public class ClientSconnesso { + + public static void main(String[] args) { + // TODO code application logic here + String messaggio = "Ciao amico server"; + + try { + UDatagram.writeString("192.168.1.175", 5000, messaggio); + } catch (IOException ex) { + System.out.println(ex.getMessage()); + } + } + +} diff --git a/ServerAccademico/build/built-jar.properties b/ServerAccademico/build/built-jar.properties deleted file mode 100644 index 1f370c5..0000000 --- a/ServerAccademico/build/built-jar.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Wed, 01 Feb 2023 15:45:34 +0100 - - -/home/boss/Progetti/ServerAccademico= diff --git a/ServerAccademico/build/classes/serveraccademico/ServerAccademico.class b/ServerAccademico/build/classes/serveraccademico/ServerAccademico.class deleted file mode 100644 index ade7d959e323074e5ba6e628f8cae20e7c8dfd96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1485 zcmah}%TgOh6g@3rS`5QWG7yp&kIlo9O|007^FTlXiU}lA?6PdK$f_B2iAFQis+ksL z{ve-_eHK|K3n%4;Kfs^hPw^t;wnTwssp6@c?!NDH@9n;?|9$xiz$SilkV2Yc#Kjei zGE5(f6HyFA)F?hWJeIy;7~N2jGFuGkeBmI23G z3Ov)+UMQ19G#W~K(lg3SL|}z=;Z+s+*A84va7?$)sHt7*R} zDgMT*1*bI=tEjS7jieF@f1$!|z`={AL# z?V2iGd`tlhIg}zSIrsnz93Q&)2p==#IuZMI7e4o{SnDvhFBl9XW$FgQR7FMdr*?QK(nheA=&=JLM`;wv05q~!D7zVsB1jK?nSmxVHL6Ue)W8w4dc#5u!6 z%?Q6)6|D|#jt3lH_g{|lYv$B+JND(SvMJBLTb{c%F4^s9Z4wiUR#loKT~DS)vE|?! ze9N(IJGR5Hduuk;V%O=Oi0Xk%mMdB}+pW@I$~~Mu z!>6Y$IYhm;F5S1@_k7M>ltmEKl#!(jzGE1F9BXQJsMbBk;O<9}jLU&Y5}9y(&#*F( zLn<%}GTQsBWmjbg>iq-;AMcQc=;mYm5!T#)sZ_{eUcD+NZ+f~3C zJ|SuhcRNPb_;)+@XfI@WWhVD)cI+RFSN_7xofnw@1Gy?4*IwZIODqAFb@ql_rIEuN zJ=rvDpha+6$BCMxKvN{kl5`sLn87Mh7Jx_6d6IpKd!2wwxR1{|pbGdL4@lz+`sYaN rjK))n<4caOz&NhGC95>nNt!|l8? + + + diff --git a/ServerPersistente/build/built-jar.properties b/ServerPersistente/build/built-jar.properties deleted file mode 100644 index 1041c69..0000000 --- a/ServerPersistente/build/built-jar.properties +++ /dev/null @@ -1,4 +0,0 @@ -#Thu, 02 Feb 2023 00:11:26 +0100 - - -/home/boss/Progetti/Didattica_Socket/ServerPersistente= diff --git a/ServerPersistente/build/classes/serverpersistente/ServerPersistente.class b/ServerPersistente/build/classes/serverpersistente/ServerPersistente.class deleted file mode 100644 index 973fb537598e42b26945f0a42690015762c9b621..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3061 zcma)8+ix3H9{x^Zdt7&ViF2#lG`RPq)D6&GE=~#ChK9N%ZK*@r6eyjHPm^h!8FxGm z4ZB>HJM4Xd-E!+A;RVF@!I9b(eOdKkk@y36K|EJvl*?Q{krOexJy4x{kY+?d3gJ8WY`dtQBZFFga;CX{+oR_OnL1 zEZs@zCa@k28j?C1(In8g!fpYrq_~PU={o{`-%yfU_GowKkcJkj{H?b1y7E4A-Z96e zmq0T%C?8V-(T-fMb4W=x>1e}dx@efDEYa-7j?RGC-|z42)^NvCgHF1Zr)=JWts1uJ z*p3|n>lP07H&QYxy<-)xRGIT%U_*_cfeCB66KKaSWnYKD#yRJfVooa$cMG)Cf^)EP z?woXG;e<2_($%m>AXU@l?D=B@wX$}vjxO9Ku$G2}00ONcyFv<@btmpoX6;k9&*wA@ zQIYJ#uNCNC6~K8=a4gfJ^!Mv{09k=J>!8qY*^+foJ2RZbIQ9#yG9BAC$D}!)Ko1_$ z@EaWmaBy+C`APS&6D7lygUO0uU0bR5MohIGOhm%WZ{8s16E8{?ZQc#mi9T&Z}M*K-_? z(IxJ)X{qJdGEIUJt7v&f5&{EBcJ6?xn}#@sSk5(a^{#EwQ=y+O9hp1U}%2I<-YY0De zgJZ7qj4@Iq^ejvr1u(m7j6xw_DV0>1WnrOu7Vq$@qa9~dj`(QC84c%akVU zvZY!!0Mse24fCzExY2pqlJOeMBg%ENXwm&(<_RE?g|>0!ez6lHmPzvGNoO5Mv-6Ot_2I5<_3E5O4ssWsbjie95w%<~rEo%puE z=5U)^cAEE@Y8)qBFtTY8$GZZnYn|!~{wdJj%ZA^Rp0LtmhLtu-C28|EHF-684l&Gh zj-$ivEgI~=vWE9r%*$f6QV2ABNcR5^<#Y++#m2Qch}2&lrxJfe@LA$l7gxbGx_buV zU%vVRpGplR;PR;l0F>eJYZWS(q=cL6(V7nZ0rV3rDDnMDjs|vZKNZn zw~9xuq8}h}@_1I8Mv975>?%(9GWC`RvRW#V(yAEb{>Q60`QGi%lsQju*EH%C|5MzV zjm^F3#K#nVBo(`!id1nc1z3v+8kna>qMOLj%yhSqxfT1c zfhTT8j<`JTfJ7QaY{e9|;U(&wVUX(Seuo3fUuKJ6^?WthU$rbp + + + + + + + + + + Builds, tests, and runs the project ServerSconnesso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServerSconnesso/build/built-jar.properties b/ServerSconnesso/build/built-jar.properties new file mode 100644 index 0000000..a985434 --- /dev/null +++ b/ServerSconnesso/build/built-jar.properties @@ -0,0 +1,4 @@ +#Fri, 03 Feb 2023 12:12:07 +0100 + + +/home/docente/Progetti/ServerSconnesso= diff --git a/ServerSconnesso/build/classes/serversconnesso/ServerSconnesso.class b/ServerSconnesso/build/classes/serversconnesso/ServerSconnesso.class new file mode 100644 index 0000000000000000000000000000000000000000..f74196d2807c225c3dd8fcf625d24410e3582af3 GIT binary patch literal 1363 zcmah}+foxj5IvIs3+qCFKq4p-5HNre?-v571SzNrVpR|ye6WViR2Z_m6L%*m_yhd| z|G;N_K#K=Iz>l)*O`r%SrCYT#+r8cAbocc1uivLX0W4$9LGsN=J6R)f8p73}0oo7$@ntjuA(KE?5*H!ziHxCJdTU zahfj);z^>H0*%#KQ)Fk5?l$g_Z;~t*>cJ8l?&2Q#-lx|g$KLa9hJ2X~~@KO-3bgFxQ)x{XAj9o!wAen9^`H5u*g zB~a;d=Jz>%}`HU3uY>5pnVF!`1}7P z2!Ma)d!&LUefWWvz+yxa{2Gj=|vIn9s1DxFp_0*ib^0^19&i^5RoA z_T@F|@WT#iRVj8U_U{Rx1CSH&RATNz3Tfr7q}*L1g+NZgkIRE=BG3pIF9cH3;V#14 zn;Z=pN;Wc$Y_aflGiGy^Y4#-OLq48-CL!Y08mO9@Su>~CX4cqtWU6Gv<1_TxCP*Xq@>PN(uY?E4cPCYHD#hxxx@8sBaMUQL z#fx;!2UJXlN!zO82|i%~c^gqEn>#`!Wt|1n!t|8WNsxqRj$ak+lNipc2Rp^B9!cXI z*y7$PViFsw&G4XSA0s&Aq7N*Tg6C->Y4g_BV$P;kyetHZO86t zdr-t-$pAgu>Twh8z zXS!egz>DwrqM+LTKwQfPRdU$wR~Y>1qfaGBB4~)XJN<%N&a&~y*V4Y0_uyZ#H?~CN zd4&r?ZzuGn5`dMtt}!Zn366=e7hsL31sYZMm4e-=*ZCE&&Qd=i9$lJsx$yY zwW9Kpjh#cdsnzQ4YjgO4QDs0KFqKj#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$(S$Dna>>K)QJzPO~L8yC~M;Qi@|TaQ^$0FKM115 z8=}P;+{Lw~ftQl4T`x8T1kUpuvOF27#e51f{5Cs(zgUGcxc$ZfXJW{y|EdAH-=#&L z$42d23IG5`+86{#JIT-eJ?!^>ANJpV|IZzTOduPXOtx6l2@_^D7D)CrnqCA0Hdpsr zJK*{hJ4FeVNXZ#{IOCc@Fvav2$Mve_)hm=jFMoUCeYPxz%d9m|=F2#~I|iTpGH zvYg|My0QOtd-ubYP_2sehrFoV9(6G$;PjW~e%Z78F&RVIK?t{~?y$W=Tl6Q}3?~Xa}k? zEj1ao-8(7ne%4jvO5tA7>bpA3^-@_Y?uwz>okV08sO#YI_3Vwnk3o@F@Mrw*m@Ag% zZ$(Hg!EmTKWn|nFZ-2&z?d`Hrecwd;+GV=x+cZk0#@o?_Rj_lXL%`M5SfZkyag?*R z_u8O&b-~JKme^=lFy^A1l{{cHy@N^OOE3`|q^;f2Jm# z3NfXm-|q|kLD~Q4;eVz0j~>KN{crR?3G<(w{k7%&(b;*Lzj5|s1N@^a@;i;c*1R8G g-6XZiKj-CdE1;1+HECAz3mQ5A8>s@uoFiZT8?5e^&Hw-a literal 0 HcmV?d00001 diff --git a/ServerSconnesso/manifest.mf b/ServerSconnesso/manifest.mf new file mode 100644 index 0000000..328e8e5 --- /dev/null +++ b/ServerSconnesso/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/ServerSconnesso/nbproject/build-impl.xml b/ServerSconnesso/nbproject/build-impl.xml new file mode 100644 index 0000000..7b2a4a8 --- /dev/null +++ b/ServerSconnesso/nbproject/build-impl.xml @@ -0,0 +1,1771 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServerSconnesso/nbproject/genfiles.properties b/ServerSconnesso/nbproject/genfiles.properties new file mode 100644 index 0000000..d628c8d --- /dev/null +++ b/ServerSconnesso/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=ac40c2b2 +build.xml.script.CRC32=5da9665b +build.xml.stylesheet.CRC32=f85dc8f2@1.105.0.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=ac40c2b2 +nbproject/build-impl.xml.script.CRC32=80d3de00 +nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.105.0.48 diff --git a/ServerSconnesso/nbproject/private/private.properties b/ServerSconnesso/nbproject/private/private.properties new file mode 100644 index 0000000..1a2f6d1 --- /dev/null +++ b/ServerSconnesso/nbproject/private/private.properties @@ -0,0 +1,2 @@ +compile.on.save=true +user.properties.file=/home/docente/.netbeans/16/build.properties diff --git a/ServerSconnesso/nbproject/private/private.xml b/ServerSconnesso/nbproject/private/private.xml new file mode 100644 index 0000000..4750962 --- /dev/null +++ b/ServerSconnesso/nbproject/private/private.xml @@ -0,0 +1,4 @@ + + + + diff --git a/ServerSconnesso/nbproject/project.properties b/ServerSconnesso/nbproject/project.properties new file mode 100644 index 0000000..8ca4f4c --- /dev/null +++ b/ServerSconnesso/nbproject/project.properties @@ -0,0 +1,97 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.modulepath=\ + ${run.modulepath} +debug.test.classpath=\ + ${run.test.classpath} +debug.test.modulepath=\ + ${run.test.modulepath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/ServerSconnesso.jar +dist.javadoc.dir=${dist.dir}/javadoc +dist.jlink.dir=${dist.dir}/jlink +dist.jlink.output=${dist.jlink.dir}/ServerSconnesso +excludes= +file.reference.USocket.jar=/home/docente/Modelli/USocket.jar +includes=** +jar.compress=false +javac.classpath=\ + ${file.reference.USocket.jar} +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.external.vm=true +javac.modulepath= +javac.processormodulepath= +javac.processorpath=\ + ${javac.classpath} +javac.source=17 +javac.target=17 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.modulepath=\ + ${javac.modulepath} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.html5=false +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +# The jlink additional root modules to resolve +jlink.additionalmodules= +# The jlink additional command line parameters +jlink.additionalparam= +jlink.launcher=true +jlink.launcher.name=ServerSconnesso +main.class=serversconnesso.ServerSconnesso +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.modulepath=\ + ${javac.modulepath} +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +run.test.modulepath=\ + ${javac.test.modulepath} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/ServerSconnesso/nbproject/project.xml b/ServerSconnesso/nbproject/project.xml new file mode 100644 index 0000000..02198aa --- /dev/null +++ b/ServerSconnesso/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + ServerSconnesso + + + + + + + + + diff --git a/ServerSconnesso/src/serversconnesso/ServerSconnesso.java b/ServerSconnesso/src/serversconnesso/ServerSconnesso.java new file mode 100644 index 0000000..59bb533 --- /dev/null +++ b/ServerSconnesso/src/serversconnesso/ServerSconnesso.java @@ -0,0 +1,17 @@ +package serversconnesso; + +import com.mirimatcode.UDatagram; +import java.io.IOException; + +public class ServerSconnesso { + + public static void main(String[] args) { + + try { + String messaggio_ricevuto = UDatagram.listenString(5000); + System.out.println("Ho ricevuto qualcosa del genere: " + messaggio_ricevuto); + } catch (IOException ex) { + System.out.println(ex.getMessage()); + } + } +} \ No newline at end of file diff --git a/USocket/dist/USocket.jar b/USocket/dist/USocket.jar index df2207cd301507eb4817f8e6f328ef156f9df8c2..acfd1ea92a694c89521664749b839fe24e611542 100644 GIT binary patch delta 1797 zcmZ`)OH&+G7(I9B>1I03@CcGj2rzj_W`JaZA+I4A!{mh!f?`laO`4u&=wxOZr+YB* zMP-q#rRiUwW$8|hR=`TElvQS>m2#D(3m0xJU1+(oJhun%ftjhkx9@kq?|kQc_ujrY zx_;?zm>8{7bf6y4W^?Z~r0Ue!+^r)mqK?DhoahRBSM&~XJav2U<_AC0RX$w+EVq;? zITfd5`j(rwGZ#*pzFDZ4rF~Y>^t^BXymOCULwGxQCv$26#I2DV^pFcdk^ zyG>x*8j0kjU0Jj%NvE7NJfNJBzl!_SD!0 zIW-1@=_ws?bQ{=%lz?6c0;PLX4|+B98Q6<`!F?sQL!dR4u0a&dav?M6SDbQTu!Z&7 zZ=fGf1ive}B@F`tO<|&ccuDv}1`gv085L|_Dv_m2&kXB0fUJ~1C=jK5$wkAEfhVET zVijG_*3pBf44lBQK#bwT*T&5fCH1UI`a4tbgBA-uR$9^;>Ll_h1E*!u`Y_73J;~&( zOgAFXA*&s{ue4=ZbD4G2z?dwW;@Raq3z2t97iX(;b9O~QFrXplmObAr`%`AIYS#e@ zf(Pp1?d@ZaT>8P_BQQWiR*+NoueJwyv*t4SRiB1B0QRLgz_07Bak$@NdahN+r+jR?byr%+=>+1kmXn4 z3=$ZnRni=&QNasTOX^EFg=xGarB&lxf6tdV9tvDRF01q{<774}1ty}2=)Jw|D>#!?6G}o|#?uLf{8x*(#MsUd zAxUC8c)%p_-TZf>mjd=99nwBq%Yu2bk-z>>fUJIh$S}g_J~+5c))M0iH7P{uK#`iF z#A^sOsi6{udh_%wQ8R^<;S#8x#sxl$xXO{vw`+I