com.bmc.mainview.nvbapi
Class ConversationWriter

java.lang.Object
  extended by com.bmc.mainview.nvbapi.ConversationWriter
All Implemented Interfaces:
ConversationListener, java.util.EventListener

public class ConversationWriter
extends java.lang.Object
implements ConversationListener

Class responsible for recording the raw responses received from the NVBAPI and storing them as simulation properties. The recorded simulation properties can then be used to simulate the responses from a HostServer.


Constructor Summary
ConversationWriter(java.io.Writer writer)
           
 
Method Summary
 void captureHostLvl(VersionNumber hostLvl)
           
 void captureHostName(java.lang.String hostName, java.lang.String canonicalHostName)
           
 void close()
           
 void eventPerformed(ConversationEvent event)
           
 void flush()
           
 void updateWriter(java.io.Writer writer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversationWriter

public ConversationWriter(java.io.Writer writer)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

updateWriter

public void updateWriter(java.io.Writer writer)
                  throws java.io.IOException
Throws:
java.io.IOException

captureHostName

public void captureHostName(java.lang.String hostName,
                            java.lang.String canonicalHostName)

captureHostLvl

public void captureHostLvl(VersionNumber hostLvl)

eventPerformed

public void eventPerformed(ConversationEvent event)
Specified by:
eventPerformed in interface ConversationListener