first commit

This commit is contained in:
2019-04-19 11:04:11 +08:00
commit 8019fef16d
271 changed files with 40588 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"ClientServicePort": 8001, //反向连接端口
"ConfigServicePort": 8000, //配置服务端口
"WebAPIPort": 8002 //API服务端口
}

View File

@@ -0,0 +1,38 @@
2019-04-02 17:06:18,581 [1] DEBUG NSmartServer [(null)] - *** Ultron.Proxy Server v0.1 ***
2019-04-02 17:06:19,098 [1] DEBUG NSmartServer [(null)] - ClientManager initialized
2019-04-02 17:06:19,116 [1] DEBUG NSmartServer [(null)] - Ultron.Proxy server started
2019-04-02 17:06:19,118 [6] DEBUG NSmartServer [(null)] - Listening client on port 8001...
2019-04-02 17:06:19,181 [1] DEBUG NSmartServer [(null)] - Listening HTTP request on port 8002...
2019-04-02 17:06:19,193 [1] DEBUG NSmartServer [(null)] - Listening config request on port 8000...
2019-04-02 17:10:23,589 [1] DEBUG NSmartServer [(null)] - *** Ultron.Proxy Server v0.1 ***
2019-04-02 17:10:24,216 [1] DEBUG NSmartServer [(null)] - ClientManager initialized
2019-04-02 17:10:24,227 [1] DEBUG NSmartServer [(null)] - Ultron.Proxy server started
2019-04-02 17:10:24,241 [6] DEBUG NSmartServer [(null)] - Listening client on port 8001...
2019-04-02 17:10:24,315 [1] DEBUG NSmartServer [(null)] - Listening HTTP request on port 8002...
2019-04-02 17:10:24,329 [1] DEBUG NSmartServer [(null)] - Listening config request on port 8000...
2019-04-02 17:11:24,123 [5] DEBUG NSmartServer [(null)] - config request received.
2019-04-02 17:11:37,897 [5] DEBUG NSmartServer [(null)] - appRequestBytes received.
2019-04-02 17:11:42,602 [5] DEBUG NSmartServer [(null)] - consumerPortBytes received.
2019-04-02 17:11:42,633 [5] INFO NSmartServer [(null)] - 8004
2019-04-02 17:11:52,528 [5] DEBUG NSmartServer [(null)] - AppTcpClientMapReverseConnected事件已触发
2019-04-02 17:12:14,473 [5] DEBUG NSmartServer [(null)] - listening serviceClient....Port:8004
2019-04-02 17:12:16,436 [5] INFO NSmartServer [(null)] - 81
2019-04-02 17:12:18,641 [5] DEBUG NSmartServer [(null)] - AppTcpClientMapReverseConnected事件已触发
2019-04-02 17:12:21,949 [5] DEBUG NSmartServer [(null)] - listening serviceClient....Port:81
2019-04-02 17:12:21,951 [5] INFO NSmartServer [(null)] - 20000
2019-04-02 17:12:23,501 [5] DEBUG NSmartServer [(null)] - AppTcpClientMapReverseConnected事件已触发
2019-04-02 17:12:23,501 [5] DEBUG NSmartServer [(null)] - listening serviceClient....Port:20000
2019-04-02 17:12:23,504 [5] INFO NSmartServer [(null)] - 20002
2019-04-02 17:12:24,843 [5] DEBUG NSmartServer [(null)] - AppTcpClientMapReverseConnected事件已触发
2019-04-02 17:12:24,844 [5] DEBUG NSmartServer [(null)] - listening serviceClient....Port:20002
2019-04-02 17:12:24,844 [5] DEBUG NSmartServer [(null)] - <=端口已分配。
2019-04-02 17:12:24,847 [5] DEBUG NSmartServer [(null)] - apprequest arranged
2019-04-02 17:12:24,848 [5] DEBUG NSmartServer [(null)] - arrangedIds written.
2019-04-02 17:12:38,865 [5] DEBUG NSmartServer [(null)] - 已建立一个空连接
2019-04-02 17:12:38,867 [5] DEBUG NSmartServer [(null)] - 已获取到消息ClientID:8356AppID:1
2019-04-02 17:12:43,750 [5] DEBUG NSmartServer [(null)] - 已建立一个空连接
2019-04-02 17:12:43,750 [5] DEBUG NSmartServer [(null)] - 已获取到消息ClientID:8356AppID:2
2019-04-02 17:12:43,751 [5] DEBUG NSmartServer [(null)] - 已建立一个空连接
2019-04-02 17:12:43,771 [4] DEBUG NSmartServer [(null)] - 已获取到消息ClientID:8356AppID:3
2019-04-02 17:12:43,772 [5] DEBUG NSmartServer [(null)] - 已建立一个空连接
2019-04-02 17:12:43,773 [5] DEBUG NSmartServer [(null)] - 已获取到消息ClientID:8356AppID:4

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- This section contains the log4net configuration settings -->
<log4net>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout" value="%date{yyMMdd HH:mm:ss.fff} [%thread] %-5level %logger - %message%newline" />
</appender>
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="log-file.log" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
</layout>
</appender>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="log/" />
<appendToFile value="true" />
<rollingStyle value="Composite" />
<staticLogFileName value="false" />
<datePattern value="yyyyMMdd'.log'" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="1MB" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
</layout>
</appender>
<!-- Setup the root category, add the appenders and set the default level -->
<root>
<level value="ALL" />
<appender-ref ref="ConsoleAppender" />
<!--<appender-ref ref="FileAppender" />-->
<appender-ref ref="RollingLogFileAppender" />
</root>
</log4net>
</configuration>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\Administrator\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\Administrator\\.nuget\\packages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
]
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "netcoreapp2.2",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "2.2.0"
}
}
}