IBitbandCore.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef IBITBANDCORE_IDL
00012 #define IBITBANDCORE_IDL
00013
00014 #include "TToiInvalidArgumentException.idl"
00015
00016 interface IBitbandCore
00017 {
00018 typedef sequence<octet> binary;
00019 enum TState
00020 {
00021 STATE_BB_UNINITIALIZED,
00022 STATE_BB_CONNECTING,
00023 STATE_BB_CONNECTED,
00024 STATE_BB_PAUSED_AT_BEGINNING,
00025 STATE_BB_PAUSED_AT_END,
00026 STATE_BB_PAUSED,
00027 STATE_BB_PLAYING,
00028 STATE_BB_FFWD,
00029 STATE_BB_REW,
00030 STATE_BB_SEEKING,
00031 STATE_BB_FAILED
00032 };
00033 oneway void Bind(in string bbpurl, in string ip, in string port);
00034 oneway void Unbind();
00035 oneway void Read(in long key, in long offset, in long size);
00036 oneway void SetClientSocketName(in string socketName);
00037
00038 oneway void CfgSetParam(in string param, in string value);
00039 oneway void Play(in long pace);
00040 oneway void PlayFromPosition(in unsigned long position, in long pace);
00041 void GetTitle(out string title);
00042 void GetCurrentPosMsec(out unsigned long position);
00043 void GetDuration(out unsigned long duration);
00044
00045 };
00046
00047 #endif