Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

net.jxta.ext.config
Class Transport  view Transport download Transport.java

java.lang.Object
  extended bynet.jxta.ext.config.Transport
Direct Known Subclasses:
HttpTransport, TcpTransport

public abstract class Transport
extends java.lang.Object

Transport configuration container base class.


Nested Class Summary
static class Transport.Scheme
           
 
Field Summary
private  java.util.List addresses
           
private  boolean isEnabled
           
private  boolean isIncoming
           
private  boolean isOutgoing
           
private  boolean isProxyEnabled
           
private  ProxyAddress proxy
           
private  java.util.List publicAddresses
           
private  java.lang.String scheme
           
 
Constructor Summary
Transport(java.lang.String scheme)
          Constructor for the Transport object
 
Method Summary
 void addAddress(Address address)
          Adds a feature to the Address attribute of the Transport object
 void addAddresses(java.util.List addresses)
          Adds a feature to the Addresses attribute of the Transport object
 void addPublicAddress(PublicAddress address)
          Adds a feature to the PublicAddress attribute of the Transport object
 void addPublicAddresses(java.util.List addresses)
          Adds a feature to the PublicAddresses attribute of the Transport object
 void clearAddresses()
          Description of the Method
 void clearPublicAddresses()
          Description of the Method
 java.util.List getAddresses()
          Gets the addresses attribute of the Transport object
 ProxyAddress getProxyAddress()
          Gets the proxyAddress attribute of the Transport object
 java.util.List getPublicAddresses()
          Gets the publicAddresses attribute of the Transport object
 java.lang.String getScheme()
          Gets the scheme attribute of the Transport object
 boolean isEnabled()
          Gets the enabled attribute of the Transport object
 boolean isIncoming()
          Gets the incoming attribute of the Transport object
 boolean isOutgoing()
          Gets the outgoing attribute of the Transport object
 boolean isProxy()
          Gets the proxy attribute of the Transport object
 Address removeAddress(Address address)
          Description of the Method
 Address removePublicAddress(PublicAddress address)
          Description of the Method
 void setAddress(Address address)
          Sets the address attribute of the Transport object
 void setAddresses(java.util.List addresses)
          Sets the addresses attribute of the Transport object
 void setEnabled(boolean isEnabled)
          Sets the enabled attribute of the Transport object
 void setIncoming(boolean isIncoming)
          Sets the incoming attribute of the Transport object
 void setOutgoing(boolean isOutgoing)
          Sets the outgoing attribute of the Transport object
 void setProxy(boolean isProxyEnabled)
          Sets the proxy attribute of the Transport object
 void setProxyAddress(ProxyAddress proxy)
          Sets the proxyAddress attribute of the Transport object
 void setPublicAddress(PublicAddress address)
          Sets the publicAddress attribute of the Transport object
 void setPublicAddresses(java.util.List addresses)
          Sets the publicAddresses attribute of the Transport object
 void setScheme(java.lang.String scheme)
          Sets the scheme attribute of the Transport object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scheme

private java.lang.String scheme

isEnabled

private boolean isEnabled

isIncoming

private boolean isIncoming

isOutgoing

private boolean isOutgoing

addresses

private java.util.List addresses

publicAddresses

private java.util.List publicAddresses

isProxyEnabled

private boolean isProxyEnabled

proxy

private ProxyAddress proxy
Constructor Detail

Transport

public Transport(java.lang.String scheme)
Constructor for the Transport object

Method Detail

getScheme

public java.lang.String getScheme()
Gets the scheme attribute of the Transport object


setScheme

public void setScheme(java.lang.String scheme)
Sets the scheme attribute of the Transport object


isEnabled

public boolean isEnabled()
Gets the enabled attribute of the Transport object


setEnabled

public void setEnabled(boolean isEnabled)
Sets the enabled attribute of the Transport object


isIncoming

public boolean isIncoming()
Gets the incoming attribute of the Transport object


setIncoming

public void setIncoming(boolean isIncoming)
Sets the incoming attribute of the Transport object


isOutgoing

public boolean isOutgoing()
Gets the outgoing attribute of the Transport object


setOutgoing

public void setOutgoing(boolean isOutgoing)
Sets the outgoing attribute of the Transport object


getAddresses

public java.util.List getAddresses()
Gets the addresses attribute of the Transport object


setAddress

public void setAddress(Address address)
Sets the address attribute of the Transport object


setAddresses

public void setAddresses(java.util.List addresses)
Sets the addresses attribute of the Transport object


addAddress

public void addAddress(Address address)
Adds a feature to the Address attribute of the Transport object


addAddresses

public void addAddresses(java.util.List addresses)
Adds a feature to the Addresses attribute of the Transport object


removeAddress

public Address removeAddress(Address address)
Description of the Method


clearAddresses

public void clearAddresses()
Description of the Method


getPublicAddresses

public java.util.List getPublicAddresses()
Gets the publicAddresses attribute of the Transport object


addPublicAddress

public void addPublicAddress(PublicAddress address)
Adds a feature to the PublicAddress attribute of the Transport object


addPublicAddresses

public void addPublicAddresses(java.util.List addresses)
Adds a feature to the PublicAddresses attribute of the Transport object


setPublicAddress

public void setPublicAddress(PublicAddress address)
Sets the publicAddress attribute of the Transport object


setPublicAddresses

public void setPublicAddresses(java.util.List addresses)
Sets the publicAddresses attribute of the Transport object


removePublicAddress

public Address removePublicAddress(PublicAddress address)
Description of the Method


clearPublicAddresses

public void clearPublicAddresses()
Description of the Method


isProxy

public boolean isProxy()
Gets the proxy attribute of the Transport object


setProxy

public void setProxy(boolean isProxyEnabled)
Sets the proxy attribute of the Transport object


getProxyAddress

public ProxyAddress getProxyAddress()
Gets the proxyAddress attribute of the Transport object


setProxyAddress

public void setProxyAddress(ProxyAddress proxy)
Sets the proxyAddress attribute of the Transport object