|
JSR-927 (Maintenance Release) | ||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
InterfaceMap | Class InterfaceMap reports the local IP address
assigned to a given service component that carries IP data. |
Provides access to IP datagrams transmitted in the broadcast stream. Applications implemented using the Java TV API can access IP datagrams transmitted in the broadcast stream through use of the normal datagram reception mechanisms of the java.net package. Unicast IP datagrams are received via the java.net.DatagramSocket class; multicast IP datagrams are received via the java.net.MulticastSocket class.
To enable reception of multicast IP datagrams, the Java TV API assigns
a locally-unique IP address to service components carrying encapsulated
IP datagrams. These addresses are generated dynamically from the set of
IP addresses reserved for use in private networks (see RFC 1918 for more
information). Television applications determine the local IP address assigned
to a given service component using the class javax.net.InterfaceMap.
Applications then use this IP address to indicate the network interface
from which instances of java.net.MulticastSocket or java.net.DatagramSocket
receive multicast datagrams.
|
JSR-927 (Maintenance Release) | ||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |