Package files.sharing

Examples of files.sharing.Sharer


  }

  public void removeSharedFile(SerializableFile file, int sharerId)
  {
    IndexedFile indexedFile = retrieveIndexedFile(file);
    Sharer sharer = sharingManager.getSharer(sharerId);

    sharer.unregisterSharedFile(indexedFile);
    indexedFile.removeSharer(sharer);
  }
View Full Code Here


    getFileManager().removeIndexedFile(this);
  }

  public void serializeStatus(int targetId, ObjectOutputStream os) throws IOException
  {
    Sharer targetSharer = getFileManager().getSharerById(targetId);

    lock.readLock().lock();
    shareMap.serialize(targetSharer, os);
    lock.readLock().unlock();
  }
View Full Code Here

TOP

Related Classes of files.sharing.Sharer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.