org.glassfish.cafe.api
Interface Conversation

All Superinterfaces:
Communication

public interface Conversation
extends Communication

Represents a two party call. It extends a Communication. XXX TODO use JSR 309 interfaces.

Author:
binod

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.cafe.api.Communication
Communication.State
 
Method Summary
 Participant getCallee()
          Return the callee in the call.
 Participant getCaller()
          Return the caller who initiated the call..
 
Methods inherited from interface org.glassfish.cafe.api.Communication
addAgent, addParticipant, addParticipant, addParticipant, addParticipant, end, getAgent, getAgents, getInitiator, getName, getParticipant, getParticipant, getState, removeAgent, removeParticipant, removeParticipant, replaceParticipant
 

Method Detail

getCaller

Participant getCaller()
Return the caller who initiated the call..

Returns:
The caller Participant.

getCallee

Participant getCallee()
Return the callee in the call.

Returns:
Callee participant


Copyright © 2010. All Rights Reserved.