kaos.core.csi
Class TransportImpl

java.lang.Object
  extended by kaos.core.csi.TransportImpl
All Implemented Interfaces:
java.io.Serializable, Transport

public class TransportImpl
extends java.lang.Object
implements Transport

$Revision: 1.2 $

See Also:
Serialized Form

Field Summary
protected  java.lang.String _name
           
protected  java.util.Hashtable _properties
           
 
Constructor Summary
TransportImpl()
          Defines the operations to store and access information about a given Transport.
TransportImpl(java.lang.String name)
          Defines the operations to store and access information about a given Transport.
 
Method Summary
 java.lang.String getName()
          Obtain the Transport name.
 Property getProperty(java.lang.String name)
          Obtain a Property of this Transport.
 void setName(java.lang.String name)
          Set the name of this Transport.
 void setProperty(Property property)
          Set a property for this Transport.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_name

protected java.lang.String _name

_properties

protected java.util.Hashtable _properties
Constructor Detail

TransportImpl

public TransportImpl()
Defines the operations to store and access information about a given Transport.


TransportImpl

public TransportImpl(java.lang.String name)
Defines the operations to store and access information about a given Transport.

Method Detail

setName

public void setName(java.lang.String name)
Set the name of this Transport.

Specified by:
setName in interface Transport
Parameters:
name - String containing the name of the Transport.

getName

public java.lang.String getName()
Obtain the Transport name.

Specified by:
getName in interface Transport
Returns:
String containing the name of the Transport.

setProperty

public void setProperty(Property property)
Set a property for this Transport.

Specified by:
setProperty in interface Transport
Parameters:
property - Property describing this transport.

getProperty

public Property getProperty(java.lang.String name)
Obtain a Property of this Transport.

Specified by:
getProperty in interface Transport
Returns:
Property describing this transport.