Menu

Multiple SwitchBoards for one connection

Help
PsyMonkey
2007-01-24
2013-04-29
  • PsyMonkey

    PsyMonkey - 2007-01-24

    I will explain my problem with a example.

    I have a jabber client connected to a gateway and the gateway is connected to the msn contact using JML.  The jabber clients send a msg to a msn contact.  Gateway gets the msg and notices there is no open switchboard to this msn contact.  Sends a invite to new switchboard and message with the messenger.sendText(email,text).  "If there was a open switchboard it would have been sent with MsnSwitchboard.sendText(Email,text)"  Now the problem is that if the jabber user sends another msg before the switchboard is opened/msn contact has join/ this will cause the gateway to open another switchboard.  This is a big problem since i want to keep the amount of ports opened by the gateway to a minimum.

    any Ideas on this.

    Thanks,
    Phil

     
    • PsyMonkey

      PsyMonkey - 2007-01-29

      Did a work around.  Started keeping track of the switchboards waiting accept form the client.  Also created a buffer to buffer all the msgs.  Very important is to have a timeout on the msgs for in case the client never accepts the switchboard session.

      Phil

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.