mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 19:42:58 +00:00
Update
This commit is contained in:
parent
7ae722ab51
commit
38951a8cbd
@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard1.5</TargetFramework>
|
<TargetFramework>netstandard1.5</TargetFramework>
|
||||||
|
<Authors>Ahmed Kh. Zamil</Authors>
|
||||||
|
<Company>Esiur</Company>
|
||||||
|
<Product>Esiur MongoDB Store</Product>
|
||||||
|
<Description>MongoDB Store for Esiur Library</Description>
|
||||||
|
<Copyright>Ahmed Kh. Zamil</Copyright>
|
||||||
|
<PackageLicenseUrl>https://github.com/esiur/esiur-dotnet/blob/master/LICENSE</PackageLicenseUrl>
|
||||||
|
<PackageProjectUrl>http://www.esiur.com</PackageProjectUrl>
|
||||||
|
<RepositoryUrl>https://github.com/esiur/esiur-dotnet/</RepositoryUrl>
|
||||||
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -8,8 +8,6 @@ namespace Esiur.Engine
|
|||||||
{
|
{
|
||||||
public class AsyncBag<T>:AsyncReply
|
public class AsyncBag<T>:AsyncReply
|
||||||
{
|
{
|
||||||
//List<AsyncReply> replies = new List<AsyncReply>();
|
|
||||||
//List<T> results = new List<T>();
|
|
||||||
Dictionary<AsyncReply, T> results = new Dictionary<AsyncReply, T>();
|
Dictionary<AsyncReply, T> results = new Dictionary<AsyncReply, T>();
|
||||||
int count = 0;
|
int count = 0;
|
||||||
bool sealedBag = false;
|
bool sealedBag = false;
|
||||||
@ -19,13 +17,6 @@ namespace Esiur.Engine
|
|||||||
base.Then(new Action<object>(o => callback((T[])o)));
|
base.Then(new Action<object>(o => callback((T[])o)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
public void Trigger(T[] result)
|
|
||||||
{
|
|
||||||
Trigger((object)result);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
public void Seal()
|
public void Seal()
|
||||||
{
|
{
|
||||||
sealedBag = true;
|
sealedBag = true;
|
||||||
@ -54,11 +45,5 @@ namespace Esiur.Engine
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
public AsyncBag(T[] result)
|
|
||||||
{
|
|
||||||
this.result = result;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard1.5</TargetFramework>
|
<TargetFramework>netstandard1.5</TargetFramework>
|
||||||
|
<Description>Distributed Resources Platform</Description>
|
||||||
|
<Copyright>Ahmed Kh. Zamil</Copyright>
|
||||||
|
<PackageLicenseUrl>https://github.com/esiur/esiur-dotnet/blob/master/LICENSE</PackageLicenseUrl>
|
||||||
|
<PackageProjectUrl>http://www.esiur.com</PackageProjectUrl>
|
||||||
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<RepositoryUrl>https://github.com/esiur/esiur-dotnet</RepositoryUrl>
|
||||||
|
<Authors>Ahmed Kh. Zamil</Authors>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
@ -9,6 +17,10 @@
|
|||||||
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_5</DefineConstants>
|
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_5</DefineConstants>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||||
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="Net\UDP\UDPServer.cs" />
|
<Compile Remove="Net\UDP\UDPServer.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -1,31 +1,33 @@
|
|||||||
|
|
||||||
/******************************************************************************\
|
/********************************************************************************\
|
||||||
* Uruky Sniffer Project *
|
* Uruky Project *
|
||||||
* *
|
* *
|
||||||
* Copyright (C) 2006 Ahmed Khalaf - ahmed@uruky.com *
|
* Copyright (C) 2006 Ahmed Zamil - ahmed@dijlh.com *
|
||||||
* ahmed_baghdad@yahoo.com *
|
|
||||||
* http://www.uruky.com *
|
|
||||||
* http://www.dijlh.com *
|
* http://www.dijlh.com *
|
||||||
* *
|
* *
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
* Permission is hereby granted, free of charge, to any person obtaining a copy *
|
||||||
* it under the terms of the GNU General Public License as published by *
|
* of this software and associated documentation files (the "Software"), to deal *
|
||||||
* the Free Software Foundation; either version 2, or (at your option) *
|
* in the Software without restriction, including without limitation the rights *
|
||||||
* any later version. *
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell *
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is *
|
||||||
|
* furnished to do so, subject to the following conditions: *
|
||||||
* *
|
* *
|
||||||
* This program is distributed in the hope that it will be useful, *
|
* The above copyright notice and this permission notice shall be included in all *
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
* copies or substantial portions of the Software. *
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
||||||
* GNU General Public License for more details. *
|
|
||||||
* *
|
* *
|
||||||
* You should have received a copy of the GNU General Public License *
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *
|
||||||
* along with this program; if not, write to the Free Software *
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE *
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, *
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE *
|
||||||
|
* SOFTWARE. *
|
||||||
* *
|
* *
|
||||||
* File: Packet.cs *
|
* File: Packet.cs *
|
||||||
* Description: Ethernet/ARP/IPv4/TCP/UDP Packet Decoding & Encoding Class *
|
* Description: Ethernet/ARP/IPv4/TCP/UDP Packet Decoding & Encoding Class *
|
||||||
* Compatibility: .Net Framework 2.0 / Mono 1.1.8 *
|
* Compatibility: .Net Framework 2.0 / Mono 1.1.8 *
|
||||||
* *
|
* *
|
||||||
\******************************************************************************/
|
\********************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ namespace Test
|
|||||||
{
|
{
|
||||||
Info = new Structure();
|
Info = new Structure();
|
||||||
Info["size"] = 200;
|
Info["size"] = 200;
|
||||||
Info["age"] = 30;
|
Info["age"] = 28;
|
||||||
Info["name"] = "Zamil";
|
Info["name"] = "Zamil";
|
||||||
Name = "Ahmed";
|
Name = "Ahmed";
|
||||||
Level = 5;
|
Level = 5;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright(c) Ahmed Kh. Zamil
|
Copyright (c) 2017 Ahmed Kh. Zamil
|
||||||
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user