com.edustructures.sifworks
Class TransportProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by com.edustructures.sifworks.ADKProperties
                  extended by com.edustructures.sifworks.TransportProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
Direct Known Subclasses:
HttpProperties

public abstract class TransportProperties
extends ADKProperties

Properties describing operational settings of a transport protocol.

Version:
1.0
See Also:
Serialized Form

Constructor Summary
TransportProperties()
          Constructor
TransportProperties(TransportProperties parent)
          Constructs a TransportProperties object that inherits its properties from a parent.
 
Method Summary
 void defaults(java.lang.Object owner)
          Initialize the TransportProperties with default values
abstract  java.lang.String getProtocol()
          Gets the name of the transport protocol associated with these properties
 
Methods inherited from class com.edustructures.sifworks.ADKProperties
getParent, getProperty, getProperty, getProperty, getProperty, setProperty, setProperty, setProperty
 
Methods inherited from class java.util.Properties
list, list, load, loadFromXML, propertyNames, save, store, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransportProperties

public TransportProperties()
Constructor


TransportProperties

public TransportProperties(TransportProperties parent)
Constructs a TransportProperties object that inherits its properties from a parent. Call the Agent.getDefaultTransportProperties method to obtain the default TransportProperties object for a given transport protocol.

Parameters:
inherit - The parent TransportProperties object, usually obtained by calling Agent.getDefaultTransportProperties
Method Detail

getProtocol

public abstract java.lang.String getProtocol()
Gets the name of the transport protocol associated with these properties

Returns:
A protocol name such as http or https

defaults

public void defaults(java.lang.Object owner)
Initialize the TransportProperties with default values



Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.