xin lx liu 12.May.06 01:39 AM a Web browser Developer ToolkitsAll ReleasesAll Platforms
Sametime toolkit provides the capability to create a channel between two sametime entities, for example, a client and a server application, the code looks like this (comes from the sports updater example in toolkit examples)
// Create a channel to the sports updater SA
m_cnl = channelService.createChannel(SportsUpdater.SERVICE_TYPE, 0, 0,
EncLevel.ENC_LEVEL_ALL, null, null);
// Listen to this channel
m_cnl.addChannelListener(this);
// Open, the channel
m_cnl.open();
The code above firstly creates a channel to server application specified by SportsUpdater.SERVICE_TYPE, which is an integer number represents server type.
But if I try to create a channel to another user, what’s the server type? How to write the code?
Thanks in advance!!