CommunicationSystemClientSide.java 1.3 KB
Newer Older
P
pjsousa@gmail.com 已提交
1 2
/**
 * Copyright (c) 2007-2009 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in the @author tags
3
 *
P
pjsousa@gmail.com 已提交
4
 * This file is part of SMaRt.
5
 *
P
pjsousa@gmail.com 已提交
6 7 8 9
 * SMaRt is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
10
 *
P
pjsousa@gmail.com 已提交
11 12
 * SMaRt is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
P
pjsousa@gmail.com 已提交
14
 * GNU General Public License for more details.
15
 *
P
pjsousa@gmail.com 已提交
16 17 18 19 20 21 22 23 24 25 26 27
 * You should have received a copy of the GNU General Public License along with SMaRt.  If not, see <http://www.gnu.org/licenses/>.
 */

package navigators.smart.communication.client;

import navigators.smart.tom.core.messages.TOMMessage;

/**
 * Methods that should be implemented by the client side of the client-server communication system
 *
 * @author Paulo
 */
28
public interface CommunicationSystemClientSide {
B
bessani@gmail.com 已提交
29
   public void send(boolean sign, int[] targets, TOMMessage sm);
P
pjsousa@gmail.com 已提交
30 31
   public void setReplyReceiver(ReplyReceiver trr);
   public void sign(TOMMessage sm);
32 33 34 35 36 37
   public void close();

   //******* EDUARDO BEGIN **************//
   public void updateConnections();
   //******* EDUARDO END **************//

P
pjsousa@gmail.com 已提交
38
}