'convergence_remote_app_control_service.h',
'convergence_app_communication_service.cc',
'convergence_app_communication_service.h',
- 'convergence_channel.cc',
- 'convergence_channel.h',
+ 'convergence_channel_info.cc',
+ 'convergence_channel_info.h',
'convergence_payload.cc',
'convergence_payload.h',
'convergence_client_info.cc',
break;
case 'onStart':
native_.callIfPossible(s._startCallback,
- new Channel(result.channel.uri, result.channel.id), null);
+ new ChannelInfo(result.channel.uri, result.channel.id), null);
break;
case 'onPublish':
native_.callIfPossible(s._sendCallback,
- new Channel(result.channel.uri, result.channel.id), null);
+ new ChannelInfo(result.channel.uri, result.channel.id), null);
break;
case 'onStop':
native_.callIfPossible(s._stopCallback,
- new Channel(result.channel.uri, result.channel.id), null);
+ new ChannelInfo(result.channel.uri, result.channel.id), null);
break;
case 'onMessage': {
var payload = [];
}
native_.callIfPossible(s._listenerCallback,
- new Channel(result.channel.uri, result.channel.id),
+ new ChannelInfo(result.channel.uri, result.channel.id),
payload, result.senderId);
}
break;
{
name: 'channel',
type: types_.PLATFORM_OBJECT,
- values: tizen.Channel,
+ values: tizen.ChannelInfo,
optional: false,
nullable: false
},
{
name: 'channel',
type: types_.PLATFORM_OBJECT,
- values: tizen.Channel,
+ values: tizen.ChannelInfo,
optional: false,
nullable: false
},
{
name: 'channel',
type: types_.PLATFORM_OBJECT,
- values: tizen.Channel,
+ values: tizen.ChannelInfo,
optional: false,
nullable: false
},
native_.callIfPossible(successCallback, this);
};
-function Channel(uri, id) {
- validator_.isConstructorCall(this, Channel);
+function ChannelInfo(uri, id) {
+ validator_.isConstructorCall(this, ChannelInfo);
this.uri = uri;
this.id = id;
}
tizen.RemoteAppControlService = RemoteAppControlService;
tizen.AppCommunicationServerService = AppCommunicationServerService;
tizen.AppCommunicationClientService = AppCommunicationClientService;
-tizen.Channel = Channel;
+tizen.ChannelInfo = ChannelInfo;
tizen.PayloadString = PayloadString;
tizen.PayloadRawBytes = PayloadRawBytes;