com.zion.jbuddy.bots.event
Class BotSendFileEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.zion.jbuddy.bots.event.BotClientEvent
          extended by com.zion.jbuddy.bots.event.BotSendFileEvent
All Implemented Interfaces:
Serializable

public class BotSendFileEvent
extends BotClientEvent

Encapsulates sendFile event information.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BotSendFileEvent(BotClient client, String userName, BotFile file)
          This constructor is called from BotEngine and should not be used by outside implementations.
 
Method Summary
 BotFile getFile()
          Returns the file being sent.
 String getUserName()
          Returns the name of the user being sent to.
 String toString()
           
 
Methods inherited from class com.zion.jbuddy.bots.event.BotClientEvent
getClient
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BotSendFileEvent

public BotSendFileEvent(BotClient client,
                        String userName,
                        BotFile file)
This constructor is called from BotEngine and should not be used by outside implementations.

Method Detail

getUserName

public String getUserName()
Returns the name of the user being sent to.


getFile

public BotFile getFile()
Returns the file being sent.


toString

public String toString()
Overrides:
toString in class EventObject


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.