com.aol.acc
Class AccFileSharingSession

java.lang.Object
  extended by com.aol.acc.AccBase
      extended by com.aol.acc.AccSecondarySession
          extended by com.aol.acc.AccFileSharingSession

public class AccFileSharingSession
extends AccSecondarySession

IAccFileSharingSession represents an incoming file sharing session.


Method Summary
 boolean getCanStop()
          Whether this session can be stopped cleanly
 AccFileXferSession getFileXferSession()
          The current file transfer session
 AccFileSharingItem getItemByIndex(int index)
          Get a top-level listing item.

 int getTopLevelListingCount()
          The count of items from the top level directory
 AccFileSharingItem getXferringFileSharingItem()
          The currently transferring file sharing item
 void setAccessControlHook(AccAccessControlHook AccessControlHook)
          An optional hook to control access to shared files
 void stopRecv()
          If currently downloading an item, request to stop the download
without stopping the session.
 
Methods inherited from class com.aol.acc.AccSecondarySession
accept, cancelProposal, eject, endSession, getCreationTime, getInvitation, getInvitees, getLinkedSessions, getMaxParticipantCount, getName, getOnlineTime, getParticipants, getRemainingTime, getRemoteUserName, getSecure, getServiceId, getSession, getSessionState, getState, invite, reject, setLinkedSessions
 
Methods inherited from class com.aol.acc.AccBase
compareHandle, equals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getItemByIndex

public AccFileSharingItem getItemByIndex(int index)
                                  throws AccException
Get a top-level listing item.

Throws:
AccException

stopRecv

public void stopRecv()
              throws AccException
If currently downloading an item, request to stop the download
without stopping the session. Only works if
AccFileSharingSessionProp_CanStop is true.

Throws:
AccException

getCanStop

public boolean getCanStop()
                   throws AccException
Whether this session can be stopped cleanly

Throws:
AccException

getFileXferSession

public AccFileXferSession getFileXferSession()
                                      throws AccException
The current file transfer session

Throws:
AccException

getTopLevelListingCount

public int getTopLevelListingCount()
                            throws AccException
The count of items from the top level directory

Throws:
AccException

getXferringFileSharingItem

public AccFileSharingItem getXferringFileSharingItem()
                                              throws AccException
The currently transferring file sharing item

Throws:
AccException

setAccessControlHook

public void setAccessControlHook(AccAccessControlHook AccessControlHook)
                          throws AccException
An optional hook to control access to shared files

Throws:
AccException