Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ecf-dev] How to know the roomID for an already connected IChatRoomContainer

Ok, just replying to myself:
   IChatRoomContainer.getConnectedID() returns a chatroom ID that can be
used just fine.

Thanks anyway ;)
Mario

> -----Original Message-----
> From: ecf-dev-bounces@xxxxxxxxxxx [mailto:ecf-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Mario Scalas
> Sent: giovedì 10 aprile 2008 23.20
> To: ecf-dev@xxxxxxxxxxx
> Cc: econference-over-ecf@xxxxxxxxxxxxxxxx
> Subject: [ecf-dev] How to know the roomID for an already connected
> IChatRoomContainer
> 
> Hi all,
> 	I find myself in a situation where the IChatRoomContainer is
> passed
> to my component after the container has already connected so I lose the
> ContainerConnectedEvent fired when the IContainer.connect() is called
> (XMPPChatRoomContainer, in my case).
> 
> Is it possible to add a getRoomID() method to the IChatRoomContainer
> interface so that I can use it? I see that the XMPPChatRoomContainer
> conserve such instance but doesn't provide any accessor for, perhaps
> because
> it is fair (by design) to capture the event. Is any other option
> available?
> 
> Thanks
> Mario
> 
> --
> Mario Scalas
> Ph.D. student
> Collaborative Development Group
> 
> University of Bari - C.S. Dept.
> Via E. Orabona, 4
> 70125 Bari - ITALY
> 
> web: http://cdg.di.uniba.it/scalas/
> email: scalas (at) di.uniba.it
> 
> 
> 
> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top