DotNet: yet another remoting & events question

  • stevewhitley / 100 / Fri, 27 Mar 2009 21:35:00 GMT / Comments (1)
  • in the spirit of beating a dead hose (with such a blatently repeated

    topic) and as a result of my CLS (chronic lazyness syndrome) condition:

    given the following interface:

    public interface IStatusProvider {

    void UpdateStatus(StatusArgs e);

    event EventHander<StatusArgs> StatusRecieved;

    }

    I want to be able to sync up some servers using one of 2 methods.

    I'm trying to see what would be easier / more efficient: just

    broadcasting a UDP status message or using remoting /w events.

    I know that there is different types of remoting (client activated,

    server activated blah blah blah), but will there be issues w/ using one

    type over the other if you have events? I'd assume that I'd need

    a persisted connection to use events. which is kind of a downer,

    but using udp is unreliable so its 6 of 1 half dozen of another, so

    here I am.

    so, (briefly) what would I need to do to use this given that I have 6

    identical servers running that need to know about each other. Is

    it just a matter of registering a tcp server channel and attaching to

    the event (calling the method when my status changes), or is it going

    to be more than that. also, I've seen timeouts / null

    reference exceptions that happen (in the limited remoting I have used)

    when my marshal by ref object does not override

    InitializeLifetimeService and return null.

    thx for reading.

    --Steve

  • Keywords:

    remoting, events, dotnet, .net

  • http://dotnet.itags.org/dotnet-tech/294/«« Last Thread - Next Thread »»
    1. well, I can only guess that since this got moved to a forum that nobody ever visits, I'll never get a response...

      thanks anyway I guess.

      stevewhitley | Fri, 31 Aug 2007 03:10:00 GMT |

  • DotNet Questions

    • Yet another Regex question

      I have the following code:string pattern =@"(\{)|(})|(\()|(\))|(\[)|(])|(\^)|(\*)|(/)|(-)|(\+)|(%)";...

      By frankoquendo, 1 Comments

    • Sound volume level

      Hi All,I'm looking for a way to detect the main sound output volume level so that if it crosses a ce...

      By h3mp, 2 Comments

    • Reading a range of selected Excel 2003 files.

      I can create an excel application object and an active worksheet object in Visual Studio 2005 on a w...

      By pinetree, 3 Comments

    • Active Directroy search via Intranet

      I am trying to create a simple AD search page where any of my co workers can input and name and get ...

      By anonymous, 5 Comments

    • sound streaming

      i want to play sound in asp.net page without breaks in the sound wat can i doif there is any article...

      By sanitarium, 1 Comments