com.aol.acc
Class AccCustomSession

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

public class AccCustomSession
extends AccSecondarySession

IAccCustomSession is used for managing secondary sessions created by
third parties.


Method Summary
 AccCustomSessionMode getMode()
          The mode of operation for this session, from AccCustomSessionMode
 AccStream getStream(java.lang.String reserved, int streamId)
          In streams mode, gets a reliable stream to the remote user.

 java.lang.String getUuid()
          The id for this kind of session; see IAccSession::AddCapabilities
 void sendData(java.lang.String toName, int streamId, AccIm im)
          In offer-answer or framed mode, sends a message to the specified user.

 void setMode(AccCustomSessionMode Mode)
          The mode of operation for this session, from AccCustomSessionMode
 
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

sendData

public void sendData(java.lang.String toName,
                     int streamId,
                     AccIm im)
              throws AccException
In offer-answer or framed mode, sends a message to the specified user.

Throws:
AccException

getStream

public AccStream getStream(java.lang.String reserved,
                           int streamId)
                    throws AccException
In streams mode, gets a reliable stream to the remote user.

Throws:
AccException

getUuid

public java.lang.String getUuid()
                         throws AccException
The id for this kind of session; see IAccSession::AddCapabilities

Throws:
AccException

getMode

public AccCustomSessionMode getMode()
                             throws AccException
The mode of operation for this session, from AccCustomSessionMode

Throws:
AccException

setMode

public void setMode(AccCustomSessionMode Mode)
             throws AccException
The mode of operation for this session, from AccCustomSessionMode

Throws:
AccException