cgl.narada.wsinfra.deployment.impl
Class NBNetworkSubstrate

java.lang.Object
  extended by cgl.narada.wsinfra.deployment.impl.NBNetworkSubstrate
All Implemented Interfaces:
Handler, NetworkSubstrate

public class NBNetworkSubstrate
extends Object
implements Handler, NetworkSubstrate

This class provides an implementation of the Network Substrate interface based on communications provided by the NB substrate.


Constructor Summary
NBNetworkSubstrate()
           
 
Method Summary
 void configureNetworking(Properties props)
          Configure the networking related properties associated with the substrate.
 String createLinkTo(Properties props, String linkType)
          Create a network connection to a specific host based on the specified properties and communications type.
 void handleData(byte[] data, String sender)
           
 boolean isClient()
          This method indicates that the node in question is a client
 void loadCommunicationsOfType(Properties commProps, String commType)
          Load communication libraries for a specific transport based on the specified properties.
 void registerPipeline(FilterPipeline filterPipeline)
          Register the filter pipeline with the substrate.
 void routeMessage(SOAPMessage soapMessage)
          Route the SOAPMessage based on the contents of the [wsa:To] element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NBNetworkSubstrate

public NBNetworkSubstrate()
Method Detail

registerPipeline

public void registerPipeline(FilterPipeline filterPipeline)
                      throws DeploymentException
Register the filter pipeline with the substrate.

Specified by:
registerPipeline in interface NetworkSubstrate
Throws:
DeploymentException

configureNetworking

public void configureNetworking(Properties props)
                         throws DeploymentException
Configure the networking related properties associated with the substrate.

Specified by:
configureNetworking in interface NetworkSubstrate
Throws:
DeploymentException

routeMessage

public void routeMessage(SOAPMessage soapMessage)
                  throws MessageFlowException
Description copied from interface: NetworkSubstrate
Route the SOAPMessage based on the contents of the [wsa:To] element.

Specified by:
routeMessage in interface NetworkSubstrate
Throws:
MessageFlowException

isClient

public boolean isClient()
This method indicates that the node in question is a client

Specified by:
isClient in interface Handler

handleData

public void handleData(byte[] data,
                       String sender)
Specified by:
handleData in interface Handler

loadCommunicationsOfType

public void loadCommunicationsOfType(Properties commProps,
                                     String commType)
                              throws TransportException
Load communication libraries for a specific transport based on the specified properties.

Throws:
TransportException

createLinkTo

public String createLinkTo(Properties props,
                           String linkType)
                    throws DeploymentException
Create a network connection to a specific host based on the specified properties and communications type.

Throws:
DeploymentException


For comments and suggestions please send e-mail to The NaradaBrokering Project