X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fuk%2Fac%2Fvamsas%2Fclient%2Fpicking%2FIPickManager.java;h=593df0bfb7248b7511e6afc740eed745950a02a6;hb=1b42648f96f8265aab5800f6709d3ec9c82bb82c;hp=6c9615dad389221a48ffd9367ed51fca98286284;hpb=f46a9401190f34549d6c1bef0c2ce8a920cab83d;p=vamsas.git diff --git a/src/uk/ac/vamsas/client/picking/IPickManager.java b/src/uk/ac/vamsas/client/picking/IPickManager.java index 6c9615d..593df0b 100644 --- a/src/uk/ac/vamsas/client/picking/IPickManager.java +++ b/src/uk/ac/vamsas/client/picking/IPickManager.java @@ -1,20 +1,50 @@ +/* + * This file is part of the Vamsas Client version 0.2. + * Copyright 2010 by Jim Procter, Iain Milne, Pierre Marguerite, + * Andrew Waterhouse and Dominik Lindner. + * + * Earlier versions have also been incorporated into Jalview version 2.4 + * since 2008, and TOPALi version 2 since 2007. + * + * The Vamsas Client is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The Vamsas Client is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with the Vamsas Client. If not, see . + */ package uk.ac.vamsas.client.picking; /** * Interface that defines the methods required for a pick manager. */ -public interface IPickManager -{ - /** - * Sends a message. - * @param message the message to send - */ - public void sendMessage(Message message); - - /** - * Registers a message handler with the manager that allows the manager to - * perform a method callback on that object whenever a message is received. - * @param handler the message handler to register - */ - public void registerMessageHandler(IMessageHandler handler); -} \ No newline at end of file +public interface IPickManager { + /** + * Sends a message. + * + * @param message + * the message to send + */ + public void sendMessage(Message message); + + /** + * Registers a message handler with the manager that allows the manager to + * perform a method callback on that object whenever a message is received. + * + * @param handler + * the message handler to register + */ + public void registerMessageHandler(IMessageHandler handler); + + /** + * Shutsdown the pick manager processes, terminating any connections to other + * clients. + */ + public void shutdown(); +}