net.jxta.impl.endpoint.servlethttp
Class ServletHttpTransport
java.lang.Object
net.jxta.impl.endpoint.servlethttp.ServletHttpTransport
- All Implemented Interfaces:
- Module
- public final class ServletHttpTransport
- extends Object
- implements Module
A JXTA Message Transport
This class is really a facade for the following:
- An HTTP client message sender
- An HTTP-server-based message receiver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
protocolName
protected String protocolName
- The name of the protocol
ServletHttpTransport
public ServletHttpTransport()
init
public void init(PeerGroup peerGroup,
ID assignedID,
Advertisement impl)
throws PeerGroupException
-
- Specified by:
init
in interface Module
- Throws:
PeerGroupException
startApp
public int startApp(String[] args)
-
- Specified by:
startApp
in interface Module
stopApp
public void stopApp()
-
- Specified by:
stopApp
in interface Module
getEndpointService
public EndpointService getEndpointService()
- Returns the endpoint service that this transport is attached to.
- Returns:
- EndpointService The endpoint service that this transport is attached to.
getTransportBindingMeter
TransportBindingMeter getTransportBindingMeter(String peerIDString,
EndpointAddress destinationAddress)
getUnknownTransportBindingMeter
TransportBindingMeter getUnknownTransportBindingMeter()