|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
net.jackofalltrades.irc.dcc.event.DccDataEvent
Encapsulates data received via a DCC Connection to be handled in a way defined by the IRC application.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DccDataEvent(java.lang.Object source,
byte[] data)
Creates a new DccDataEvent . |
Method Summary | |
byte[] |
getData()
Returns the data read from the DccConnection which spawned
this event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DccDataEvent(java.lang.Object source, byte[] data)
DccDataEvent
.
data
- a byte array containing the data read from a
Socket
or prepared by a GUI, or other, component.
java.lang.IllegalArgumentException
- if data
is null.Method Detail |
public byte[] getData()
DccConnection
which spawned
this event.
DccConnection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |