One way is to use 2 bus attachments so that there will be two About Announce 
messages.
There may be other ways.

From: [email protected] [mailto:[email protected]]
Sent: Thursday, June 23, 2016 6:09 PM
To: Dave Thaler <[email protected]>; [email protected]
Subject: RE: [Allseen-core] Can the consumer get the specific port numbers of 
the specific inferfaces ?

Thanks for Dave’s reply.

The consumer can get one session port number via the port field of About 
Announce message.

When there are two session port number ( Port A  for  interface A, PortB for 
interfaceB),  the consumer need to get the port information (port A and port B).
Is any way to let the consumer to get these two session port number ( Port A  
and  PortB) via announce message ?

Consumer    <----   service provider ( interfaceA portA, interfaceB port B) in 
the same device



From: Dave Thaler [mailto:[email protected]]
Sent: Friday, June 24, 2016 3:32 AM
To: franklin(林富賢); 
[email protected]<mailto:[email protected]>
Subject: RE: [Allseen-core] Can the consumer get the specific port numbers of 
the specific inferfaces ?

Yes the session port is in the About Announce message.
https://allseenalliance.org/framework/documentation/learn/core/about-announcement/interface


Announce signal is a Sessionless signal

Message arguments
Argument

Parameter name

Signature

List of values

Description

0

version

q

positive

Version number of the About interface.

1

port

q

positive

Session port the app will listen on incoming sessions.

2

objectDescription

a(oas)

Populated based on announced interfaces

Array of object paths and the list of supported interfaces provided by each 
object.

3

aboutData

a{sv}

array of key/value pairs

All the fields listed in About data interface 
fields<https://allseenalliance.org/framework/documentation/learn/core/about-announcement/interface#about-data-interface-fields>
 with a yes value in the Announced column are provided in this signal.



From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of 
[email protected]<mailto:[email protected]>
Sent: Thursday, June 23, 2016 2:33 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [Allseen-core] Can the consumer get the specific port numbers of the 
specific inferfaces ?

https://allseenalliance.org/framework/documentation/learn/core/system-description/alljoyn-session
"The session port is typically known ahead of time to both the consumer and the 
provider app.
Alternately, the session port can be discovered via the Announcement message 
received from that provider."

I has two questions.

1.
  ServiceA --> interfaceA (portA) , the consumer join the session of interfaceA 
via session portA
  ServiceB --> interfaceB (portB) , the consumer join the session of interfaceB 
via session portB

There are interfaceA (via session portA) and interfaceB (via session portB) in 
the provider.
Can the consumer get the information session portA number ( for interfaceA) and 
session portB number ( for interfceB)
 via the Announcement message?


2.
  ServiceA --> interfaceA (portA) , the consumer join the session of interfaceA 
via session portA
  ServiceB --> interfaceB (portB) , the consumer join the session of interfaceB 
via session portB
  I design the sepecific session signal in interfaceA and interfaceB
  The different service should be in the different session port.
  Is this correct?


*****CONFIDENTIAL INFORMATION*****



This email is intended only for the use of the person or entity to whom it is

addressed and contains information that may be subject to and/or may be

restricted from disclosure by contract or applicable law. If you are not the

intended recipient of this email, be advised that any disclosure, copy,

distribution or use of the contents of this message is strictly prohibited.

If you are not the intended recipient of this email, please notify the sender

that you have received this in error by replying to this message. Then,

please delete it from your system. Thank you.



*****CONFIDENTIAL INFORMATION*****



This email is intended only for the use of the person or entity to whom it is

addressed and contains information that may be subject to and/or may be

restricted from disclosure by contract or applicable law. If you are not the

intended recipient of this email, be advised that any disclosure, copy,

distribution or use of the contents of this message is strictly prohibited.

If you are not the intended recipient of this email, please notify the sender

that you have received this in error by replying to this message. Then,

please delete it from your system. Thank you.


_______________________________________________
Allseen-core mailing list
[email protected]
https://lists.allseenalliance.org/mailman/listinfo/allseen-core

Reply via email to