source: java/main/src/main/java/com/framsticks/util/dispatching/Joinable.java @ 193

Last change on this file since 193 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 473 bytes
Line 
1package com.framsticks.util.dispatching;
2
3import javax.annotation.Nonnull;
4
5
6public interface Joinable {
7
8        /** The name of the joinable.
9         *
10         * It should never be empty, but it is not required to remain
11         * constant during lifetime of the object.
12         */
13        public String getName();
14
15        public boolean use(@Nonnull JoinableParent owner);
16        public boolean drop(@Nonnull JoinableParent owner);
17
18        public void join() throws InterruptedException;
19
20        public JoinableState getState();
21
22}
Note: See TracBrowser for help on using the repository browser.