java.lang.Object
com.synchrona.jred.TinyTP
- All Implemented Interfaces:
- iIrLMPService
- public class TinyTP
- extends java.lang.Object
- implements iIrLMPService
|
Method Summary |
void |
clientConfirmsConnection(Client client)
|
void |
clientConfirmsDisconnect(Client client)
|
void |
clientDiscovered(Client client)
|
void |
clientRequestsDisconnect(Client client)
|
void |
clientSendsData(Client client,
byte[] data,
int offset,
int length)
|
void |
confirmConnectionRequest(Client client)
|
void |
connectRequest(Test irlmp,
byte yDestinationLSAP,
byte ySourceLSAP,
byte[] ayUserData)
|
void |
dataRequest(byte[] ayData,
int nOffset,
int nLength)
|
Test |
getIrLMP()
|
void |
serviceRequest(Test irlmp,
IrLMPConnection conn,
byte[] ayRequest,
int nOffset,
int nLength)
|
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 |
PDU_HAS_PARAMETERS
public static final int PDU_HAS_PARAMETERS
- See Also:
- Constant Field Values
PDU_HAS_NO_PARAMETERS
public static final int PDU_HAS_NO_PARAMETERS
- See Also:
- Constant Field Values
PDU_INITIAL_CREDIT
public static final int PDU_INITIAL_CREDIT
- See Also:
- Constant Field Values
m_irlmp
private Test m_irlmp
m_log
private com.synchrona.util.Log m_log
m_obex
private IrOBEX m_obex
m_yDestination
private byte m_yDestination
m_ySource
private byte m_ySource
TinyTP
public TinyTP(com.synchrona.util.Log log,
Test irlmp,
IrOBEX obex)
getIrLMP
public Test getIrLMP()
clientConfirmsConnection
public void clientConfirmsConnection(Client client)
clientConfirmsDisconnect
public void clientConfirmsDisconnect(Client client)
clientDiscovered
public void clientDiscovered(Client client)
confirmConnectionRequest
public void confirmConnectionRequest(Client client)
clientRequestsDisconnect
public void clientRequestsDisconnect(Client client)
clientSendsData
public void clientSendsData(Client client,
byte[] data,
int offset,
int length)
connectRequest
public void connectRequest(Test irlmp,
byte yDestinationLSAP,
byte ySourceLSAP,
byte[] ayUserData)
- Specified by:
connectRequest in interface iIrLMPService
dataRequest
public void dataRequest(byte[] ayData,
int nOffset,
int nLength)
serviceRequest
public void serviceRequest(Test irlmp,
IrLMPConnection conn,
byte[] ayRequest,
int nOffset,
int nLength)
throws java.lang.Exception
- Specified by:
serviceRequest in interface iIrLMPService
setLog
public void setLog(java.io.PrintWriter log)
- Specified by:
setLog in interface iIrLMPService
setLogging
public void setLogging(boolean bDoLogging)
- Specified by:
setLogging in interface iIrLMPService