Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anthony ROZEN
ASAProject
Commits
07d0b530
Commit
07d0b530
authored
Nov 29, 2021
by
Anthony ROZEN
Browse files
ajout m1 modif
parent
1ba73a5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
ASAProject/src/M1/Client.java
View file @
07d0b530
...
...
@@ -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"
);
}
}
ASAProject/src/M1/Server.java
View file @
07d0b530
...
...
@@ -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"
);
}
}
ASAProject/src/M1/ServerDetail.java
0 → 100644
View file @
07d0b530
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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment