oracle.webcache.population
Class PopulationConnection

java.lang.Object
  |
  +--oracle.webcache.population.PopulationConnection

public class PopulationConnection
extends java.lang.Object


Field Summary
TypeField
protected  oracle.net.http.HttpConnection m_conn
           
 
Constructor Summary
PopulationConnection()
          Constructs a Web Cache population connection Connection details (including hostname and port no.) are taken from an XML configuration file - more specifically, from the attributes: host="" port="" for the element whose tag name is "population".
PopulationConnection(java.lang.String tagName)
           
 
Method Summary
TypeMethod
 boolean send(PopulationMessage msg)
          Sends population message to the Web Cache and returns true or false to indicate that the messsage has, or has not, been accepted by the Web Cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_conn

protected oracle.net.http.HttpConnection m_conn
Constructor Detail

PopulationConnection

public PopulationConnection()
Constructs a Web Cache population connection Connection details (including hostname and port no.) are taken from an XML configuration file - more specifically, from the attributes: host="" port="" for the element whose tag name is "population". The location of the configuration file is expected to be in the system property "oracle.http.configfile". An example configuration file would be:

PopulationConnection

public PopulationConnection(java.lang.String tagName)
Method Detail

send

public boolean send(PopulationMessage msg)
             throws java.io.IOException
Sends population message to the Web Cache and returns true or false to indicate that the messsage has, or has not, been accepted by the Web Cache.