Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

Package javax.tv.net

Provides access to IP datagrams transmitted in the broadcast stream.

See:
          Description

Class Summary
InterfaceMap Class InterfaceMap reports the local IP address assigned to a given service component that carries IP data.
 

Package javax.tv.net Description

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)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.