|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that all classes interested by what is received by the IR tower should implement. When an objet is interested by the events, it calls addLNPListener to the LNPManager. When it's not longer interested, it calls removeLNPListener to the LNPManager.
Method Summary | |
void |
addressingReceived(byte[] buffer,
byte toPort,
byte fromHost,
byte fromPort)
Method called by LNPManager when a new addressing packet is received, provided that the current object has subscribed to the LNPManager. |
void |
integrityReceived(byte[] buffer)
Method called by LNPManager when a new integrity packet is received, provided that the current object has subscribed to the LNPManager. |
void |
wrongChecksumReceived()
Method called by LNPManager when a packet with a wrong checksum is received, provided that the current object has subscribed to the LNPManager. |
Method Detail |
public void integrityReceived(byte[] buffer)
buffer
- the data receivedpublic void addressingReceived(byte[] buffer, byte toPort, byte fromHost, byte fromPort)
buffer
- the data receivedtoPort
- the port to which the data was sentfromHost
- the host that sent the datafromPort
- the port from which the data was sent.public void wrongChecksumReceived()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |