Project JXTA

net.jxta.impl.endpoint.servlethttp
Class ServletHttpTransport

java.lang.Object
  extended by 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:


Field Summary
protected  String protocolName
          The name of the protocol
 
Fields inherited from interface net.jxta.platform.Module
START_AGAIN_PROGRESS, START_AGAIN_STALLED, START_OK
 
Constructor Summary
ServletHttpTransport()
           
 
Method Summary
 EndpointService getEndpointService()
          Returns the endpoint service that this transport is attached to.
(package private)  TransportBindingMeter getTransportBindingMeter(String peerIDString, EndpointAddress destinationAddress)
           
(package private)  TransportBindingMeter getUnknownTransportBindingMeter()
           
 void init(PeerGroup peerGroup, ID assignedID, Advertisement impl)
          
 int startApp(String[] args)
          
 void stopApp()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocolName

protected String protocolName
The name of the protocol

Constructor Detail

ServletHttpTransport

public ServletHttpTransport()
Method Detail

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()

JXTA J2SE