Menu

why i can't use MsnFileTransferListener

Help
lan zw
2009-06-30
2013-04-29
  • lan zw

    lan zw - 2009-06-30

    i wrote a msn robot days ago  .you can post text message to the website through the robot by MSN client.and now i want to achieve the function of FileTransfer .I implement the FileTransfer interface
    like as :
    public void fileTransferRequestReceived(MsnFileTransfer transfer)
    public void fileTransferFinished(MsnFileTransfer transfer)
    public void fileTransferStarted(MsnFileTransfer transfer)
    public void fileTransferProcess(MsnFileTransfer transfer)
    but made me disappointment .none of them does any work .
    so i wondering JML can does the work of FileTransfer  .any suggestion i will thanks very much  ..

     
    • lan zw

      lan zw - 2009-06-30

      it's so strange that it doesn't get in all above method but  get in the method of p2pMessageReceived
      the code followwing :
      public void p2pMessageReceived(MsnSwitchboard switchboard,
              MsnP2PMessage p2pmessage, MsnContact contact)

      so  .whatever the method get in  .what can i get the transfer file ??

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.