Commit db7e16b8 authored by 潘栩锋's avatar 潘栩锋 🚴

优化 分离 通讯与Reflect部分代码, 方便 复制到 FObject.Reflect

parent 1b294c14
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -18,9 +18,12 @@ ...@@ -18,9 +18,12 @@
<ItemGroup> <ItemGroup>
<Compile Include="..\WSCF\AsyncCBHandler.cs" Link="AsyncCBHandler.cs" /> <Compile Include="..\WSCF\AsyncCBHandler.cs" Link="AsyncCBHandler.cs" />
<Compile Include="..\WSCF\COMMON.cs" Link="COMMON.cs" />
<Compile Include="..\WSCF\CallAttribute.cs" Link="CallAttribute.cs" /> <Compile Include="..\WSCF\CallAttribute.cs" Link="CallAttribute.cs" />
<Compile Include="..\WSCF\FObjServiceClientManager.cs" Link="FObjServiceClientManager.cs" /> <Compile Include="..\WSCF\FObjServiceClientManager.cs" Link="FObjServiceClientManager.cs" />
<Compile Include="..\WSCF\ReflectData.cs" Link="ReflectData.cs" /> <Compile Include="..\WSCF\ReflectData.cs" Link="ReflectData.cs" />
<Compile Include="..\WSCF\Reflect_Proxy.cs" Link="Reflect_Proxy.cs" />
<Compile Include="..\WSCF\Reflect_SeviceClient.cs" Link="Reflect_SeviceClient.cs" />
<Compile Include="..\WSCF\WebSocketClient.cs" Link="WebSocketClient.cs" /> <Compile Include="..\WSCF\WebSocketClient.cs" Link="WebSocketClient.cs" />
</ItemGroup> </ItemGroup>
......
...@@ -13,6 +13,7 @@ namespace WSCF ...@@ -13,6 +13,7 @@ namespace WSCF
/// </summary> /// </summary>
public class PushAttribute : Attribute public class PushAttribute : Attribute
{ {
public const string DefaultTriggerNameHeader = "Trigger_";
public Type EventArgsType; public Type EventArgsType;
public string TriggerName; public string TriggerName;
public PushAttribute(Type eventArgsType) public PushAttribute(Type eventArgsType)
......
This diff is collapsed.
This diff is collapsed.
...@@ -175,7 +175,7 @@ namespace WSCF ...@@ -175,7 +175,7 @@ namespace WSCF
public void Dispose() public virtual void Dispose()
{ {
ws.Close(); ws.Close();
FObjServiceClientManager.Instance.ObjClientDisponse(this); FObjServiceClientManager.Instance.ObjClientDisponse(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment