public final class PtpEventListenerSet extends java.util.AbstractSet<PtpEventListener> implements PtpEventListener
Constructor and Description |
---|
PtpEventListenerSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(PtpEventListener listener) |
void |
clear() |
java.util.Iterator<PtpEventListener> |
iterator() |
void |
onCancelTransaction() |
void |
onCaptureComplete(UINT32 transactionID) |
void |
onDeviceInfoChanged() |
void |
onDevicePropChanged(UINT16 devicePropCode) |
void |
onDeviceReset() |
void |
onError(java.lang.Exception e) |
void |
onObjectAdded(UINT32 objectHandle) |
void |
onObjectInfoChanged(UINT32 objectHandle) |
void |
onObjectRemoved(UINT32 objectHandle) |
void |
onRequestObjectTransfer(UINT32 objectHandle) |
void |
onStorageInfoChanged(UINT32 storageID) |
void |
onStoreAdded(UINT32 storageID) |
void |
onStoreFull(UINT32 storageID) |
void |
onStoreRemoved(UINT32 storageID) |
void |
onUnreportedStatus() |
void |
onVendorExtendedCode(Event event) |
void |
raise(Event event) |
boolean |
remove(java.lang.Object o) |
int |
size() |
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
public boolean add(PtpEventListener listener)
add
in interface java.util.Collection<PtpEventListener>
add
in interface java.util.Set<PtpEventListener>
add
in class java.util.AbstractCollection<PtpEventListener>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<PtpEventListener>
remove
in interface java.util.Set<PtpEventListener>
remove
in class java.util.AbstractCollection<PtpEventListener>
public void clear()
clear
in interface java.util.Collection<PtpEventListener>
clear
in interface java.util.Set<PtpEventListener>
clear
in class java.util.AbstractCollection<PtpEventListener>
public java.util.Iterator<PtpEventListener> iterator()
iterator
in interface java.lang.Iterable<PtpEventListener>
iterator
in interface java.util.Collection<PtpEventListener>
iterator
in interface java.util.Set<PtpEventListener>
iterator
in class java.util.AbstractCollection<PtpEventListener>
public int size()
size
in interface java.util.Collection<PtpEventListener>
size
in interface java.util.Set<PtpEventListener>
size
in class java.util.AbstractCollection<PtpEventListener>
public void onCancelTransaction()
onCancelTransaction
in interface PtpEventListener
public void onObjectAdded(UINT32 objectHandle)
onObjectAdded
in interface PtpEventListener
public void onObjectRemoved(UINT32 objectHandle)
onObjectRemoved
in interface PtpEventListener
public void onStoreAdded(UINT32 storageID)
onStoreAdded
in interface PtpEventListener
public void onStoreRemoved(UINT32 storageID)
onStoreRemoved
in interface PtpEventListener
public void onDevicePropChanged(UINT16 devicePropCode)
onDevicePropChanged
in interface PtpEventListener
public void onObjectInfoChanged(UINT32 objectHandle)
onObjectInfoChanged
in interface PtpEventListener
public void onDeviceInfoChanged()
onDeviceInfoChanged
in interface PtpEventListener
public void onRequestObjectTransfer(UINT32 objectHandle)
onRequestObjectTransfer
in interface PtpEventListener
public void onStoreFull(UINT32 storageID)
onStoreFull
in interface PtpEventListener
public void onDeviceReset()
onDeviceReset
in interface PtpEventListener
public void onStorageInfoChanged(UINT32 storageID)
onStorageInfoChanged
in interface PtpEventListener
public void onCaptureComplete(UINT32 transactionID)
onCaptureComplete
in interface PtpEventListener
public void onUnreportedStatus()
onUnreportedStatus
in interface PtpEventListener
public void onVendorExtendedCode(Event event)
onVendorExtendedCode
in interface PtpEventListener
public void onError(java.lang.Exception e)
onError
in interface PtpEventListener
public void raise(Event event)