Commit 07d0b530 authored by Anthony ROZEN's avatar Anthony ROZEN
Browse files

ajout m1 modif

parent 1ba73a5f
......@@ -5,25 +5,8 @@ import M2Bis.Service;
public class Client extends Component {
private String receiveRequest;
public Client(String nomComponent, Service serviceFournis, String receiveRequest) {
public Client(String nomComponent, Service serviceFournis) {
super(nomComponent, serviceFournis);
this.receiveRequest = receiveRequest;
this.getListPortCompRequis().add(receiveRequest);
}
/**
* @return the receiveRequest
*/
public String getReceiveRequest() {
return receiveRequest;
}
/**
* @param receiveRequest the receiveRequest to set
*/
public void setReceiveRequest(String receiveRequest) {
this.receiveRequest = receiveRequest;
this.getListPortCompRequis().add("receiveRequest");
}
}
......@@ -5,25 +5,8 @@ import M2Bis.Service;
public class Server extends Component {
private String sendRequest;
public Server(String nomComponent, Service serviceFournis, String sendRequest) {
public Server(String nomComponent, Service serviceFournis) {
super(nomComponent, serviceFournis);
this.sendRequest = sendRequest;
this.getListPortCompFournis().add(sendRequest);
}
/**
* @return the sendRequest
*/
public String getSendRequest() {
return sendRequest;
}
/**
* @param sendRequest the sendRequest to set
*/
public void setSendRequest(String sendRequest) {
this.sendRequest = sendRequest;
this.getListPortCompFournis().add("sendRequest");
}
}
package M1;
import M2Bis.Component;
import M2Bis.Configuration;
public class ServerDetail extends Configuration {
connectionManager
securityManager
dataBase
connector :
- CMToSM
- SMToDB
- BMToSM
attachement :
- securityCheckToCallerCM
- CheckQueryToCallerDB
- QueryInterrogationToCallerCM
- SecurityAuthentificationToCalledCM
- SecurityManagementToCalledSM
- DBQueryToCalledDB
Binding : ReceiverRequestExternalSocket
public ServerDetail(String nomConfiguration, Component component) {
super(nomConfiguration, component);
// TODO Auto-generated constructor stub
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment