Menu

parameters_in_radiomig&rdgrmmts_service

AFME
2009-10-05
2013-03-03
  • Alessio Carbone

    Alessio Carbone - 2009-10-05

    Hi boys,

    reading afme programmers guide, in particular section SunSPOT Agents, I don't
    understand which parameters are passed to an instance of service com.agentfactory.radio.RadiogramMTS, created in WirelessAliceplat and WirelessBobplat platform in example related to SunSPOT wireless communication, and to an instance of service com.agentfactory.radio.RadioMigManager created in SpotIreland and SpotAfrica platform in example related to SunSPOT wireless communication.
    In first example (related to SunSPOT wireless communication) the value ‘40’ is passed to an instance of com.agentfactory.radio.RadiogramMTS service in both WirelessAliceplat and WirelessBobplat platform, instead in the second example (related to Agent Migration with SunSPOTs) values 40, 45 and 41, 46 are passed respectively to instance of com.agentfactory.radio.RadioMigManager service in SpotIreland and in SpotAfrica. What is the mean of these parameters? Are these parameters port number?

    I hope that also this problem is clear

    Thanks a lot!!!!

    Best regards

    Alessio

     
  • Conor

    Conor - 2009-10-07

    Hi,

    Yes, these numbers are the port numbers

     
  • Alessio Carbone

    Alessio Carbone - 2009-10-12

    Hi connor,

    If these parameters are port numbers, why is necessary  to specify two port numbers in creating an instance of com.agentfactory.radio.RadioMigManager?

    Why isn't possible to use only one port for migration service (for examples
    in com.agentfactory.radio.RadiogramMTS WirelessAliceplat only one port parameter is specified)?

    I hope that problem is clear; if isn't clear, please tell me, thank you

    best regards.

    lucignolo

     
  • Conor

    Conor - 2009-10-13

    hi lucignolo,

    The first number specified is no longer used. The second number is the port number. I think this is legacy as the original migration manager took 3 parameters. I will remove the requirement to specify two numbers in a later release.

    Best regards,
    Conor

     

Log in to post a comment.

Auth0 Logo