public void transferInterrupt(String lccno, String streamID, String fileName) throws Exception { MemberBean memberBean = TreeUtil.getMemberBeanByLccno(lccno); final FriendChatPanel panel = getFriendChatPanel(memberBean); String info = StringUtil.getFormatString(getUIString("sendFile.interrupt"), fileName); long systemTime = Vovo.getLcmUtil().getSystemTime(); panel.otherCancelSendFile(streamID, new Date(systemTime), info); DataUtil.removeFileTransfer(streamID); }
public void sendFileComplete(String lccno, String streamID, String fileName) throws Exception { MemberBean memberBean = TreeUtil.getMemberBeanByLccno(lccno); final FriendChatPanel panel = getFriendChatPanel(memberBean); panel.sendFileComplete(streamID, fileName); DataUtil.removeFileTransfer(streamID); }