Serialio.modem
Interface ModemInterfaceProvider


public interface ModemInterfaceProvider

Provides Modem interface hooks. This interface abstracts the the modem functionality thus allowing the modem classes to be used with different serial port implementations, for example using SerialPort (the worlds first serial port implementation for java) and also javax.comm.SerialPort.

  • Copyright (c) 1999-2003 Solutions Consulting, All Rights Reserved.


    Method Summary
     java.lang.String getDevName()
               
     void modemEvent(ModemEvent mev)
               
     void setDTR(boolean onOff)
               
     boolean sigDSR()
               
     

    Method Detail

    setDTR

    void setDTR(boolean onOff)
                throws java.io.IOException
    Throws:
    java.io.IOException

    sigDSR

    boolean sigDSR()
                   throws java.io.IOException
    Throws:
    java.io.IOException

    getDevName

    java.lang.String getDevName()

    modemEvent

    void modemEvent(ModemEvent mev)