ipworks
Class XmppStartTransferEvent
java.lang.Object
java.util.EventObject
ipworks.XmppStartTransferEvent
- All Implemented Interfaces:
- java.io.Serializable
public class XmppStartTransferEvent
- extends java.util.EventObject
Fired when a file transfer begins.
When a file is received, the XMPP component will parse the sender's Jabber ID into the User, Domain, and Resource fields.
The FileId and Filename parameters identify the current transfer. Within this event you may override the Filename by setting the Filename parameter.
At this time you may also set LocalDirectory
if it is not already set or call SetReceiveStream
.
When a sending a file, the XMPP component will parse the receiver's Jabber ID into the User, Domain, and Resource fields.
The Direction parameter shows whether the client (0)
or the server (1) is sending the data.
- See Also:
Xmpp
,
Xmpp.StartTransferEvent
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
direction
public int direction
fileId
public java.lang.String fileId
user
public java.lang.String user
domain
public java.lang.String domain
resource
public java.lang.String resource
filename
public java.lang.String filename
datetime
public java.lang.String datetime
size
public long size
accept
public boolean accept
Copyright (c) 2013 /n software inc. - All rights reserved.