September 2002
Intermediate to advanced
416 pages
14h 46m
English
TransportAdvertisement
Transport advertisements are embedded within endpoint advertisements; they identify the network transport of the endpoint (e.g., TCP, HTTP, etc.). They are processed transparently to developers by the underlying core classes.
public abstract class TransportAdvertisement extends net.jxta.document.Advertisement { // Public Constructors public TransportAdvertisement(); // Public Class Methods public static String getAdvertisementType(); // Public Instance Methods public String getProtocol(); public void setProtocol(String protocol); // Public Methods Overriding Advertisement public net.jxta.id.ID getID(); // Protected Instance Fields protected String protocol; }
EndpointAdvertisement.setTransportAdvertisement()
EndpointAdvertisement.getTransportAdvertisement()
Read now
Unlock full access