NodeMainExecutorService.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (version 1.7.0_21) on Wed Sep 25 23:19:37 KST 2013 -->
  6. <title>NodeMainExecutorService</title>
  7. <meta name="date" content="2013-09-25">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. </head>
  10. <body>
  11. <script type="text/javascript"><!--
  12. if (location.href.indexOf('is-external=true') == -1) {
  13. parent.document.title="NodeMainExecutorService";
  14. }
  15. //-->
  16. </script>
  17. <noscript>
  18. <div>JavaScript is disabled on your browser.</div>
  19. </noscript>
  20. <!-- ========= START OF TOP NAVBAR ======= -->
  21. <div class="topNav"><a name="navbar_top">
  22. <!-- -->
  23. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  24. <!-- -->
  25. </a>
  26. <ul class="navList" title="Navigation">
  27. <li><a href="../../../overview-summary.html">Overview</a></li>
  28. <li><a href="package-summary.html">Package</a></li>
  29. <li class="navBarCell1Rev">Class</li>
  30. <li><a href="package-tree.html">Tree</a></li>
  31. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  32. <li><a href="../../../index-all.html">Index</a></li>
  33. <li><a href="../../../help-doc.html">Help</a></li>
  34. </ul>
  35. </div>
  36. <div class="subNav">
  37. <ul class="navList">
  38. <li><a href="../../../org/ros/android/NodeMainExecutorListener.html" title="interface in org.ros.android"><span class="strong">Prev Class</span></a></li>
  39. <li><a href="../../../org/ros/android/NodeMainExecutorServiceListener.html" title="interface in org.ros.android"><span class="strong">Next Class</span></a></li>
  40. </ul>
  41. <ul class="navList">
  42. <li><a href="../../../index.html?org/ros/android/NodeMainExecutorService.html" target="_top">Frames</a></li>
  43. <li><a href="NodeMainExecutorService.html" target="_top">No Frames</a></li>
  44. </ul>
  45. <ul class="navList" id="allclasses_navbar_top">
  46. <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
  47. </ul>
  48. <div>
  49. <script type="text/javascript"><!--
  50. allClassesLink = document.getElementById("allclasses_navbar_top");
  51. if(window==top) {
  52. allClassesLink.style.display = "block";
  53. }
  54. else {
  55. allClassesLink.style.display = "none";
  56. }
  57. //-->
  58. </script>
  59. </div>
  60. <div>
  61. <ul class="subNavList">
  62. <li>Summary:&nbsp;</li>
  63. <li>Nested&nbsp;|&nbsp;</li>
  64. <li>Field&nbsp;|&nbsp;</li>
  65. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  66. <li><a href="#method_summary">Method</a></li>
  67. </ul>
  68. <ul class="subNavList">
  69. <li>Detail:&nbsp;</li>
  70. <li>Field&nbsp;|&nbsp;</li>
  71. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  72. <li><a href="#method_detail">Method</a></li>
  73. </ul>
  74. </div>
  75. <a name="skip-navbar_top">
  76. <!-- -->
  77. </a></div>
  78. <!-- ========= END OF TOP NAVBAR ========= -->
  79. <!-- ======== START OF CLASS DATA ======== -->
  80. <div class="header">
  81. <div class="subTitle">org.ros.android</div>
  82. <h2 title="Class NodeMainExecutorService" class="title">Class NodeMainExecutorService</h2>
  83. </div>
  84. <div class="contentContainer">
  85. <ul class="inheritance">
  86. <li>java.lang.Object</li>
  87. <li>
  88. <ul class="inheritance">
  89. <li>Service</li>
  90. <li>
  91. <ul class="inheritance">
  92. <li>org.ros.android.NodeMainExecutorService</li>
  93. </ul>
  94. </li>
  95. </ul>
  96. </li>
  97. </ul>
  98. <div class="description">
  99. <ul class="blockList">
  100. <li class="blockList">
  101. <dl>
  102. <dt>All Implemented Interfaces:</dt>
  103. <dd>org.ros.node.NodeMainExecutor</dd>
  104. </dl>
  105. <hr>
  106. <br>
  107. <pre>public class <span class="strong">NodeMainExecutorService</span>
  108. extends Service
  109. implements org.ros.node.NodeMainExecutor</pre>
  110. </li>
  111. </ul>
  112. </div>
  113. <div class="summary">
  114. <ul class="blockList">
  115. <li class="blockList">
  116. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  117. <ul class="blockList">
  118. <li class="blockList"><a name="constructor_summary">
  119. <!-- -->
  120. </a>
  121. <h3>Constructor Summary</h3>
  122. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  123. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  124. <tr>
  125. <th class="colOne" scope="col">Constructor and Description</th>
  126. </tr>
  127. <tr class="altColor">
  128. <td class="colOne"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#NodeMainExecutorService()">NodeMainExecutorService</a></strong>()</code>&nbsp;</td>
  129. </tr>
  130. </table>
  131. </li>
  132. </ul>
  133. <!-- ========== METHOD SUMMARY =========== -->
  134. <ul class="blockList">
  135. <li class="blockList"><a name="method_summary">
  136. <!-- -->
  137. </a>
  138. <h3>Method Summary</h3>
  139. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  140. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  141. <tr>
  142. <th class="colFirst" scope="col">Modifier and Type</th>
  143. <th class="colLast" scope="col">Method and Description</th>
  144. </tr>
  145. <tr class="altColor">
  146. <td class="colFirst"><code>void</code></td>
  147. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#addListener(org.ros.android.NodeMainExecutorServiceListener)">addListener</a></strong>(<a href="../../../org/ros/android/NodeMainExecutorServiceListener.html" title="interface in org.ros.android">NodeMainExecutorServiceListener</a>&nbsp;listener)</code>&nbsp;</td>
  148. </tr>
  149. <tr class="rowColor">
  150. <td class="colFirst"><code>void</code></td>
  151. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#execute(org.ros.node.NodeMain, org.ros.node.NodeConfiguration)">execute</a></strong>(org.ros.node.NodeMain&nbsp;nodeMain,
  152. org.ros.node.NodeConfiguration&nbsp;nodeConfiguration)</code>&nbsp;</td>
  153. </tr>
  154. <tr class="altColor">
  155. <td class="colFirst"><code>void</code></td>
  156. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#execute(org.ros.node.NodeMain, org.ros.node.NodeConfiguration, java.util.Collection)">execute</a></strong>(org.ros.node.NodeMain&nbsp;nodeMain,
  157. org.ros.node.NodeConfiguration&nbsp;nodeConfiguration,
  158. java.util.Collection&lt;org.ros.node.NodeListener&gt;&nbsp;nodeListeneners)</code>&nbsp;</td>
  159. </tr>
  160. <tr class="rowColor">
  161. <td class="colFirst"><code>java.net.URI</code></td>
  162. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#getMasterUri()">getMasterUri</a></strong>()</code>&nbsp;</td>
  163. </tr>
  164. <tr class="altColor">
  165. <td class="colFirst"><code>java.util.concurrent.ScheduledExecutorService</code></td>
  166. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#getScheduledExecutorService()">getScheduledExecutorService</a></strong>()</code>&nbsp;</td>
  167. </tr>
  168. <tr class="rowColor">
  169. <td class="colFirst"><code>IBinder</code></td>
  170. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#onBind(Intent)">onBind</a></strong>(Intent&nbsp;intent)</code>&nbsp;</td>
  171. </tr>
  172. <tr class="altColor">
  173. <td class="colFirst"><code>void</code></td>
  174. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#onCreate()">onCreate</a></strong>()</code>&nbsp;</td>
  175. </tr>
  176. <tr class="rowColor">
  177. <td class="colFirst"><code>void</code></td>
  178. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#onDestroy()">onDestroy</a></strong>()</code>&nbsp;</td>
  179. </tr>
  180. <tr class="altColor">
  181. <td class="colFirst"><code>int</code></td>
  182. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#onStartCommand(Intent, int, int)">onStartCommand</a></strong>(Intent&nbsp;intent,
  183. int&nbsp;flags,
  184. int&nbsp;startId)</code>&nbsp;</td>
  185. </tr>
  186. <tr class="rowColor">
  187. <td class="colFirst"><code>void</code></td>
  188. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#setMasterUri(java.net.URI)">setMasterUri</a></strong>(java.net.URI&nbsp;uri)</code>&nbsp;</td>
  189. </tr>
  190. <tr class="altColor">
  191. <td class="colFirst"><code>void</code></td>
  192. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#shutdown()">shutdown</a></strong>()</code>&nbsp;</td>
  193. </tr>
  194. <tr class="rowColor">
  195. <td class="colFirst"><code>void</code></td>
  196. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#shutdownNodeMain(org.ros.node.NodeMain)">shutdownNodeMain</a></strong>(org.ros.node.NodeMain&nbsp;nodeMain)</code>&nbsp;</td>
  197. </tr>
  198. <tr class="altColor">
  199. <td class="colFirst"><code>void</code></td>
  200. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#startMaster()">startMaster</a></strong>()</code>
  201. <div class="block"><strong>Deprecated.</strong>&nbsp;
  202. <div class="block"><i>use <code>void startMaster(Boolean isPrivate)</code> instead.</i></div>
  203. </div>
  204. </td>
  205. </tr>
  206. <tr class="rowColor">
  207. <td class="colFirst"><code>void</code></td>
  208. <td class="colLast"><code><strong><a href="../../../org/ros/android/NodeMainExecutorService.html#startMaster(java.lang.Boolean)">startMaster</a></strong>(java.lang.Boolean&nbsp;isPrivate)</code>&nbsp;</td>
  209. </tr>
  210. </table>
  211. <ul class="blockList">
  212. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  213. <!-- -->
  214. </a>
  215. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  216. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  217. </ul>
  218. </li>
  219. </ul>
  220. </li>
  221. </ul>
  222. </div>
  223. <div class="details">
  224. <ul class="blockList">
  225. <li class="blockList">
  226. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  227. <ul class="blockList">
  228. <li class="blockList"><a name="constructor_detail">
  229. <!-- -->
  230. </a>
  231. <h3>Constructor Detail</h3>
  232. <a name="NodeMainExecutorService()">
  233. <!-- -->
  234. </a>
  235. <ul class="blockListLast">
  236. <li class="blockList">
  237. <h4>NodeMainExecutorService</h4>
  238. <pre>public&nbsp;NodeMainExecutorService()</pre>
  239. </li>
  240. </ul>
  241. </li>
  242. </ul>
  243. <!-- ============ METHOD DETAIL ========== -->
  244. <ul class="blockList">
  245. <li class="blockList"><a name="method_detail">
  246. <!-- -->
  247. </a>
  248. <h3>Method Detail</h3>
  249. <a name="onCreate()">
  250. <!-- -->
  251. </a>
  252. <ul class="blockList">
  253. <li class="blockList">
  254. <h4>onCreate</h4>
  255. <pre>public&nbsp;void&nbsp;onCreate()</pre>
  256. </li>
  257. </ul>
  258. <a name="execute(org.ros.node.NodeMain, org.ros.node.NodeConfiguration, java.util.Collection)">
  259. <!-- -->
  260. </a>
  261. <ul class="blockList">
  262. <li class="blockList">
  263. <h4>execute</h4>
  264. <pre>public&nbsp;void&nbsp;execute(org.ros.node.NodeMain&nbsp;nodeMain,
  265. org.ros.node.NodeConfiguration&nbsp;nodeConfiguration,
  266. java.util.Collection&lt;org.ros.node.NodeListener&gt;&nbsp;nodeListeneners)</pre>
  267. <dl>
  268. <dt><strong>Specified by:</strong></dt>
  269. <dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeMainExecutor</code></dd>
  270. </dl>
  271. </li>
  272. </ul>
  273. <a name="execute(org.ros.node.NodeMain, org.ros.node.NodeConfiguration)">
  274. <!-- -->
  275. </a>
  276. <ul class="blockList">
  277. <li class="blockList">
  278. <h4>execute</h4>
  279. <pre>public&nbsp;void&nbsp;execute(org.ros.node.NodeMain&nbsp;nodeMain,
  280. org.ros.node.NodeConfiguration&nbsp;nodeConfiguration)</pre>
  281. <dl>
  282. <dt><strong>Specified by:</strong></dt>
  283. <dd><code>execute</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeMainExecutor</code></dd>
  284. </dl>
  285. </li>
  286. </ul>
  287. <a name="getScheduledExecutorService()">
  288. <!-- -->
  289. </a>
  290. <ul class="blockList">
  291. <li class="blockList">
  292. <h4>getScheduledExecutorService</h4>
  293. <pre>public&nbsp;java.util.concurrent.ScheduledExecutorService&nbsp;getScheduledExecutorService()</pre>
  294. <dl>
  295. <dt><strong>Specified by:</strong></dt>
  296. <dd><code>getScheduledExecutorService</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeMainExecutor</code></dd>
  297. </dl>
  298. </li>
  299. </ul>
  300. <a name="shutdownNodeMain(org.ros.node.NodeMain)">
  301. <!-- -->
  302. </a>
  303. <ul class="blockList">
  304. <li class="blockList">
  305. <h4>shutdownNodeMain</h4>
  306. <pre>public&nbsp;void&nbsp;shutdownNodeMain(org.ros.node.NodeMain&nbsp;nodeMain)</pre>
  307. <dl>
  308. <dt><strong>Specified by:</strong></dt>
  309. <dd><code>shutdownNodeMain</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeMainExecutor</code></dd>
  310. </dl>
  311. </li>
  312. </ul>
  313. <a name="shutdown()">
  314. <!-- -->
  315. </a>
  316. <ul class="blockList">
  317. <li class="blockList">
  318. <h4>shutdown</h4>
  319. <pre>public&nbsp;void&nbsp;shutdown()</pre>
  320. <dl>
  321. <dt><strong>Specified by:</strong></dt>
  322. <dd><code>shutdown</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeMainExecutor</code></dd>
  323. </dl>
  324. </li>
  325. </ul>
  326. <a name="addListener(org.ros.android.NodeMainExecutorServiceListener)">
  327. <!-- -->
  328. </a>
  329. <ul class="blockList">
  330. <li class="blockList">
  331. <h4>addListener</h4>
  332. <pre>public&nbsp;void&nbsp;addListener(<a href="../../../org/ros/android/NodeMainExecutorServiceListener.html" title="interface in org.ros.android">NodeMainExecutorServiceListener</a>&nbsp;listener)</pre>
  333. </li>
  334. </ul>
  335. <a name="onDestroy()">
  336. <!-- -->
  337. </a>
  338. <ul class="blockList">
  339. <li class="blockList">
  340. <h4>onDestroy</h4>
  341. <pre>public&nbsp;void&nbsp;onDestroy()</pre>
  342. </li>
  343. </ul>
  344. <a name="onStartCommand(Intent, int, int)">
  345. <!-- -->
  346. </a>
  347. <ul class="blockList">
  348. <li class="blockList">
  349. <h4>onStartCommand</h4>
  350. <pre>public&nbsp;int&nbsp;onStartCommand(Intent&nbsp;intent,
  351. int&nbsp;flags,
  352. int&nbsp;startId)</pre>
  353. </li>
  354. </ul>
  355. <a name="onBind(Intent)">
  356. <!-- -->
  357. </a>
  358. <ul class="blockList">
  359. <li class="blockList">
  360. <h4>onBind</h4>
  361. <pre>public&nbsp;IBinder&nbsp;onBind(Intent&nbsp;intent)</pre>
  362. </li>
  363. </ul>
  364. <a name="getMasterUri()">
  365. <!-- -->
  366. </a>
  367. <ul class="blockList">
  368. <li class="blockList">
  369. <h4>getMasterUri</h4>
  370. <pre>public&nbsp;java.net.URI&nbsp;getMasterUri()</pre>
  371. </li>
  372. </ul>
  373. <a name="setMasterUri(java.net.URI)">
  374. <!-- -->
  375. </a>
  376. <ul class="blockList">
  377. <li class="blockList">
  378. <h4>setMasterUri</h4>
  379. <pre>public&nbsp;void&nbsp;setMasterUri(java.net.URI&nbsp;uri)</pre>
  380. </li>
  381. </ul>
  382. <a name="startMaster()">
  383. <!-- -->
  384. </a>
  385. <ul class="blockList">
  386. <li class="blockList">
  387. <h4>startMaster</h4>
  388. <pre>@Deprecated
  389. public&nbsp;void&nbsp;startMaster()</pre>
  390. <div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>use <code>void startMaster(Boolean isPrivate)</code> instead.</i></div>
  391. <div class="block">This version of startMaster can only create private masters.</div>
  392. </li>
  393. </ul>
  394. <a name="startMaster(java.lang.Boolean)">
  395. <!-- -->
  396. </a>
  397. <ul class="blockListLast">
  398. <li class="blockList">
  399. <h4>startMaster</h4>
  400. <pre>public&nbsp;void&nbsp;startMaster(java.lang.Boolean&nbsp;isPrivate)</pre>
  401. </li>
  402. </ul>
  403. </li>
  404. </ul>
  405. </li>
  406. </ul>
  407. </div>
  408. </div>
  409. <!-- ========= END OF CLASS DATA ========= -->
  410. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  411. <div class="bottomNav"><a name="navbar_bottom">
  412. <!-- -->
  413. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  414. <!-- -->
  415. </a>
  416. <ul class="navList" title="Navigation">
  417. <li><a href="../../../overview-summary.html">Overview</a></li>
  418. <li><a href="package-summary.html">Package</a></li>
  419. <li class="navBarCell1Rev">Class</li>
  420. <li><a href="package-tree.html">Tree</a></li>
  421. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  422. <li><a href="../../../index-all.html">Index</a></li>
  423. <li><a href="../../../help-doc.html">Help</a></li>
  424. </ul>
  425. </div>
  426. <div class="subNav">
  427. <ul class="navList">
  428. <li><a href="../../../org/ros/android/NodeMainExecutorListener.html" title="interface in org.ros.android"><span class="strong">Prev Class</span></a></li>
  429. <li><a href="../../../org/ros/android/NodeMainExecutorServiceListener.html" title="interface in org.ros.android"><span class="strong">Next Class</span></a></li>
  430. </ul>
  431. <ul class="navList">
  432. <li><a href="../../../index.html?org/ros/android/NodeMainExecutorService.html" target="_top">Frames</a></li>
  433. <li><a href="NodeMainExecutorService.html" target="_top">No Frames</a></li>
  434. </ul>
  435. <ul class="navList" id="allclasses_navbar_bottom">
  436. <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
  437. </ul>
  438. <div>
  439. <script type="text/javascript"><!--
  440. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  441. if(window==top) {
  442. allClassesLink.style.display = "block";
  443. }
  444. else {
  445. allClassesLink.style.display = "none";
  446. }
  447. //-->
  448. </script>
  449. </div>
  450. <div>
  451. <ul class="subNavList">
  452. <li>Summary:&nbsp;</li>
  453. <li>Nested&nbsp;|&nbsp;</li>
  454. <li>Field&nbsp;|&nbsp;</li>
  455. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  456. <li><a href="#method_summary">Method</a></li>
  457. </ul>
  458. <ul class="subNavList">
  459. <li>Detail:&nbsp;</li>
  460. <li>Field&nbsp;|&nbsp;</li>
  461. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  462. <li><a href="#method_detail">Method</a></li>
  463. </ul>
  464. </div>
  465. <a name="skip-navbar_bottom">
  466. <!-- -->
  467. </a></div>
  468. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  469. </body>
  470. </html>