com.adventnet.agent.tl1.security
Class ChannelSecurityHandler

java.lang.Object
  |
  +--com.adventnet.agent.tl1.security.ChannelSecurityHandler

public class ChannelSecurityHandler
extends java.lang.Object

This class is used to read the informations from the text file and creates an object of TL1ChannelSecurity for each entry in it.


Constructor Summary
ChannelSecurityHandler(java.lang.String fileName)
          This constructor receives the path of the text file which contains channel security related informations.
 
Method Summary
 java.util.Hashtable getChannelViewTable()
          Used to get the Channel security details
 void setChannelViewTable(TL1ChannelSecurity security)
          This method sets the TL1ChannelSecurity objects in the channelViewTable.
static void writeIntoFile(java.util.Enumeration enumerator)
          This method takes the elements form the Enumeration and writes the contents in the txt file.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelSecurityHandler

public ChannelSecurityHandler(java.lang.String fileName)
This constructor receives the path of the text file which contains channel security related informations.
Parameters:
fileName - - Name of the file where the Channel Security related settings are stored
Method Detail

setChannelViewTable

public void setChannelViewTable(TL1ChannelSecurity security)
This method sets the TL1ChannelSecurity objects in the channelViewTable.
Parameters:
security - - TL1ChannelSecurity Reference

getChannelViewTable

public java.util.Hashtable getChannelViewTable()
Used to get the Channel security details
Returns:
Returns the table of TL1ChannelSecurity objects.

writeIntoFile

public static void writeIntoFile(java.util.Enumeration enumerator)
This method takes the elements form the Enumeration and writes the contents in the txt file.