Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.synchrona.jred.irlap
Class IrLAPStateQuery  view IrLAPStateQuery download IrLAPStateQuery.java

java.lang.Object
  extended bycom.synchrona.jred.irlap.IrLAPState
      extended bycom.synchrona.jred.irlap.IrLAPStateQuery

class IrLAPStateQuery
extends IrLAPState


Field Summary
private  com.synchrona.util.Log _log
           
protected  com.synchrona.util.Log m_log
           
private static IrLAPState s_instance
           
 
Constructor Summary
protected IrLAPStateQuery()
           
 
Method Summary
 void connectResponse(IrLAPContext context, int nDestination, byte yConnection, byte[] ayParameters)
           
 void debug(java.lang.String strCategory, java.lang.String strMessage)
           
 void discoveryRequest(IrLAPContext context)
           
static IrLAPState getInstance()
           
 void handleData(IrLAPContext context, byte yConnection, int nNr, boolean bCommand, boolean bPoll, byte[] ayData)
          Somebody has sent us data.
 void handleDataRequest(IrLAPContext context, byte ayData, int nOffset, int nLength)
          An IrLAP service user wants to send data to an IrLAP client.
 void handleDisconnect(IrLAPContext context, int nSource, byte yConnection)
           
 void handleFTimerExpired(IrLAPContext context)
           
 void handlePTimerExpired(IrLAPContext context)
           
 void handleQueryTimerExpired(IrLAPContext context)
           
 void handleRR(IrLAPContext context, byte yConnection, int nNr, boolean bCommand, boolean bPoll)
           
 void handleSlotTimerExpired(IrLAPContext context)
           
 void handleSNRM(IrLAPContext context, int nSource, int nDestination, byte yConnection, byte[] ayParameters)
           
 void handleUA(IrLAPContext context, byte[] ayParams, int nOffset, int nLength)
           
 void handleWatchdogTimerExpired(IrLAPContext context)
           
 void handleXID(IrLAPContext context, int nSource, int nDestination, byte ySlot, boolean bCommand, byte[] ayHints)
           
protected  void logIfEnabled(java.lang.String strMessage)
           
 void setLog(com.synchrona.util.Log log)
           
 void setLog(java.io.PrintWriter log)
           
 void setLogging(boolean bDoLogging)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

private com.synchrona.util.Log _log

s_instance

private static IrLAPState s_instance

m_log

protected com.synchrona.util.Log m_log
Constructor Detail

IrLAPStateQuery

protected IrLAPStateQuery()
Method Detail

getInstance

public static IrLAPState getInstance()

handleSlotTimerExpired

public void handleSlotTimerExpired(IrLAPContext context)
                            throws java.lang.Exception

handleXID

public void handleXID(IrLAPContext context,
                      int nSource,
                      int nDestination,
                      byte ySlot,
                      boolean bCommand,
                      byte[] ayHints)
               throws java.lang.Exception
Overrides:
handleXID in class IrLAPState

debug

public void debug(java.lang.String strCategory,
                  java.lang.String strMessage)
Overrides:
debug in class IrLAPState

setLog

public void setLog(com.synchrona.util.Log log)
Overrides:
setLog in class IrLAPState

setLog

public void setLog(java.io.PrintWriter log)
Overrides:
setLog in class IrLAPState

setLogging

public void setLogging(boolean bDoLogging)
Overrides:
setLogging in class IrLAPState

logIfEnabled

protected void logIfEnabled(java.lang.String strMessage)
                     throws java.lang.Exception
Overrides:
logIfEnabled in class IrLAPState

connectResponse

public void connectResponse(IrLAPContext context,
                            int nDestination,
                            byte yConnection,
                            byte[] ayParameters)
                     throws java.lang.Exception

discoveryRequest

public void discoveryRequest(IrLAPContext context)
                      throws java.lang.Exception

handleData

public void handleData(IrLAPContext context,
                       byte yConnection,
                       int nNr,
                       boolean bCommand,
                       boolean bPoll,
                       byte[] ayData)
                throws java.lang.Exception
Somebody has sent us data.


handleDataRequest

public void handleDataRequest(IrLAPContext context,
                              byte ayData,
                              int nOffset,
                              int nLength)
                       throws java.lang.Exception
An IrLAP service user wants to send data to an IrLAP client.


handleDisconnect

public void handleDisconnect(IrLAPContext context,
                             int nSource,
                             byte yConnection)
                      throws java.lang.Exception

handleFTimerExpired

public void handleFTimerExpired(IrLAPContext context)
                         throws java.lang.Exception

handlePTimerExpired

public void handlePTimerExpired(IrLAPContext context)
                         throws java.lang.Exception

handleQueryTimerExpired

public void handleQueryTimerExpired(IrLAPContext context)
                             throws java.lang.Exception

handleRR

public void handleRR(IrLAPContext context,
                     byte yConnection,
                     int nNr,
                     boolean bCommand,
                     boolean bPoll)
              throws java.lang.Exception

handleSNRM

public void handleSNRM(IrLAPContext context,
                       int nSource,
                       int nDestination,
                       byte yConnection,
                       byte[] ayParameters)
                throws java.lang.Exception

handleUA

public void handleUA(IrLAPContext context,
                     byte[] ayParams,
                     int nOffset,
                     int nLength)
              throws java.lang.Exception

handleWatchdogTimerExpired

public void handleWatchdogTimerExpired(IrLAPContext context)
                                throws java.lang.Exception