com.monica.javacom.interfaces
Interface MJCWriter

All Known Subinterfaces:
MJCCiphering, MJCProtocol, MJCTerminal, MJCVirtualInput
All Known Implementing Classes:
MJCWriterIsAOS, MJCWriterHasAIS, MJCManager

public interface MJCWriter

Implements the source part of the write functionality in the MJC layer hierarchy. MJCWriter is always the source of data fom the MJCWriteable. Writing in the MJC layer hierarchy is synchronous. If the MJCWriter is willing to write, it calls one of the write methods of the MJCWriteable. The write will return after the data is submitted to bottom layers. Data can be buffered by the MJCWriteable.


Method Summary
 MJCWriteable getWriteable()
          Returns the MJCWriteable to which this MCJWriter will write.
 java.lang.String getWriterName()
          Returns the MJC name of the MJCWriter.
 java.lang.String getWriterVersion()
          Returns the MJC version of the MJCWriter.
 void setWriteable(MJCWriteable writeable)
          Sets the MJCWriteable to which this MJCWriter will write.
 

Method Detail

getWriterName

public java.lang.String getWriterName()
Returns the MJC name of the MJCWriter.
Returns:
String: the MJC name of the MJCWriter

getWriterVersion

public java.lang.String getWriterVersion()
Returns the MJC version of the MJCWriter.
Returns:
String: the MJC version of the MJCWriter

setWriteable

public void setWriteable(MJCWriteable writeable)
Sets the MJCWriteable to which this MJCWriter will write.
Parameters:
MJCWriteable - writeable: the MJCWriteable to which this MJCWriter will write

getWriteable

public MJCWriteable getWriteable()
Returns the MJCWriteable to which this MCJWriter will write.
Returns:
MJCWriteable: the MJCWriteable to which this MJCWriter will write