|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.transport.ipsec.IPSecLinkFactory
public class IPSecLinkFactory
This is a IPSec implementation of the LinkFactory Interface. This particular implementation of the LinkFactory interface is a little different from all other implementations of the interface in that it does not require any specific properties to be specified for the initialization of the factory
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
IPSecLinkFactory()
|
|
| Method Summary | |
|---|---|
boolean |
canManageLinkMigrationOfType(String linkType)
Indicates if this factory can manage migration of links of a certain type |
Link |
createLink(Properties linkProperties)
Create a communication link based on the factoryProperties that have been specified. |
void |
dispose()
This method is used to garbage collect any resources associated with the link factory |
String |
getManagedLinksType()
Return the type of all the links created/managed by this factory |
TransportHandler |
getTransportHandler()
|
boolean |
loadLinkFactoryServices()
Start communication services. |
void |
manageLinkMigration(Link link)
Used to migrate communications of a link to the one supported by links managed by this factory |
void |
setLinkFactoryProperties(Properties properties)
|
void |
setLinkStatusInterval(long interval)
Set the interval for checking status of all links managed by this factory to the one specified in the argument |
void |
setTransportHandler(TransportHandler transportHandler)
Sets the reference to the transport handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IPSecLinkFactory()
| Method Detail |
|---|
public void setLinkFactoryProperties(Properties properties)
setLinkFactoryProperties in interface LinkFactorypublic String getManagedLinksType()
getManagedLinksType in interface LinkFactory
public Link createLink(Properties linkProperties)
throws TransportException
createLink in interface LinkFactoryTransportExceptionpublic void setLinkStatusInterval(long interval)
setLinkStatusInterval in interface LinkFactory
public boolean loadLinkFactoryServices()
throws TransportException
loadLinkFactoryServices in interface LinkFactoryTransportExceptionpublic boolean canManageLinkMigrationOfType(String linkType)
canManageLinkMigrationOfType in interface LinkFactory
public void manageLinkMigration(Link link)
throws TransportException
manageLinkMigration in interface LinkFactoryTransportExceptionpublic void setTransportHandler(TransportHandler transportHandler)
setTransportHandler in interface LinkFactorypublic void dispose()
dispose in interface LinkFactorypublic TransportHandler getTransportHandler()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||