diff options
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java index 2ce3529..a96f1e1 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java @@ -59,6 +59,13 @@ public class OperationSetBasicTelephonyJabberImpl = new ActiveCallsRepositoryJabberImpl(this); /** + * Contains references for all currently active (non ended) Google Talk + * calls. + */ + private ActiveCallsRepositoryGTalkImpl activeGTalkCallsRepository + = new ActiveCallsRepositoryGTalkImpl(this); + + /** * Creates a new instance. * * @param protocolProvider a reference to the @@ -343,6 +350,16 @@ public class OperationSetBasicTelephonyJabberImpl } /** + * Returns an iterator over all currently Google Talk active calls. + * + * @return an iterator over all currently Google Talk active calls. + */ + public Iterator<CallGTalkImpl> getGTalkActiveCalls() + { + return activeGTalkCallsRepository.getActiveCalls(); + } + + /** * Resumes communication with a call peer previously put on hold. * * @param peer the call peer to put on hold. @@ -776,6 +793,18 @@ public class OperationSetBasicTelephonyJabberImpl } /** + * Returns a reference to the {@link ActiveCallsRepositoryGTalkImpl} that + * we are currently using. + * + * @return a reference to the {@link ActiveCallsRepositoryGTalkImpl} that + * we are currently using. + */ + protected ActiveCallsRepositoryGTalkImpl getGTalkActiveCallsRepository() + { + return activeGTalkCallsRepository; + } + + /** * Returns the protocol provider that this operation set belongs to. * * @return a reference to the <tt>ProtocolProviderService</tt> that created |