Name
TransportAdvertisement
Synopsis
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; }
Passed To
EndpointAdvertisement.setTransportAdvertisement()
Returned By
EndpointAdvertisement.getTransportAdvertisement()
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.