Last change
on this file 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
|
Rev | Line | |
---|
[88] | 1 | package com.framsticks.util.dispatching; |
---|
| 2 | |
---|
| 3 | import javax.annotation.Nonnull; |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | public interface Joinable { |
---|
| 7 | |
---|
[96] | 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 | |
---|
[88] | 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.