public class LocationEvent extends EventObject
Location instances.EventObject,
Serialized Formsource| Constructor and Description |
|---|
LocationEvent(Location source,
int n)
Initialize this event with its source location.
|
| Modifier and Type | Method and Description |
|---|---|
int |
bytesTransferred()
Get the number of bytes transferred during this event.
|
Location |
getSourceLocation()
Get the source location, on which the event occurred.
|
getSource, toStringpublic LocationEvent(Location source, int n)
source - - the location on which the event is occurring.n - - the number of bytes that were transferred to another location.public int bytesTransferred()
public Location getSourceLocation()
Location instance.Copyright © 2005-2012 JPPF Team.