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-2002 Solutions Consulting, All Rights Reserved.


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

    Method Detail

    setDTR

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

    getDevName

    public java.lang.String getDevName()

    modemEvent

    public void modemEvent(ModemEvent mev)