Giter Site home page Giter Site logo

gem's People

Contributors

gmich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gem's Issues

Add caching to prevent INetworkEvent reallocation

HandleWith(this,x=> new Action(x.Do));

cache the object's name as string , and the delegate's (x.Do) name as string
also cache the whole networkConfig (eventHandler etc).

When disposing an eventHandler, the cached entry should be removed as well

For a successful lookup, the networkConfig.INetworkHandler is returned.

It shouldn't be in a hashtable or a dictionary.
Use GenericRepository. The lookup should match both entries.

Create an Incoming / Outgoing message workflow

Client: WithTag ("tag") / ForType (MessageType.Data) / Send(message)
Client: Dynamically create an object with a random name and a string property
Client: .HandleWith <- generic Action that applies to Send
Client: Dynamically create a method that handles objects by tag
Client: Encapsulate the object with its tag
Client: Create an object - stream converter
Client: Serialize it and add it to the Client.SendMessage event with the client's connection (for exclusion)
Server: Broadcast all incoming messages
Client: Receive message and handle it by it's tag

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.