com.ibm.dse.clientserver
Class ChannelHandler

java.lang.Object
  |
  +--com.ibm.dse.clientserver.ChannelHandler

public class ChannelHandler
extends java.lang.Object

The ChannelHandler class

The main cache for the contents in the server dse.ini file required for each device. This object contains a reference to the PresentationHandler and RequestHandler and are mandatory for each channel and a Hashtable to cache all the optional parameters.


Constructor Summary
ChannelHandler()
          ChannelHandler constructor.
 
Method Summary
 PresentationHandler getPresentationHandler()
          Get the channel presentation handler
 RequestHandler getRequestHandler()
          Get the channel request handler
 java.lang.Object getValueAt(java.lang.String key)
          Store all optional device settings
 void setPresentationHandler(PresentationHandler aHandler)
          Set the channel presentation handler
 void setRequestHandler(RequestHandler aHandler)
          Set the channel request handler
 void setValueAt(java.lang.String key, java.lang.Object value)
          Store all optional device settings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelHandler

public ChannelHandler()
ChannelHandler constructor.
Method Detail

getPresentationHandler

public PresentationHandler getPresentationHandler()
Get the channel presentation handler
Returns:
com.ibm.dse.clientserver.PresentationHandler

getRequestHandler

public RequestHandler getRequestHandler()
Get the channel request handler
Returns:
com.ibm.dse.clientserver.RequestHandler

getValueAt

public java.lang.Object getValueAt(java.lang.String key)
Store all optional device settings
Parameters:
key - java.lang.String
Returns:
java.lang.Object

setPresentationHandler

public void setPresentationHandler(PresentationHandler aHandler)
Set the channel presentation handler
Parameters:
com.ibm.dse.clientserver.PresentationHandler -  

setRequestHandler

public void setRequestHandler(RequestHandler aHandler)
Set the channel request handler
Parameters:
com.ibm.dse.clientserver.RequestHandler -  

setValueAt

public void setValueAt(java.lang.String key,
                       java.lang.Object value)
Store all optional device settings
Parameters:
key - java.lang.String
value - java.lang.Object