English 中文(简体)
EMAIL server FSP model
原标题:

For my assignment I need to develop FSP model for email server and client. I manage to write simple model which describes one user, server and his mailbox, but I am having problems changing this system into one which have two users with two separate mailboxes.

The FSP model that I have developed:

USER = (read->USER | write->USER).
SERVER = (read->get->SERVER | write->put->SERVER).
MAILBOX(N=0) = MAILBOX[N],
MAILBOX[i:0..3] = (when (i<3) write->put->MAILBOX[i+1]
 | when (i>0) read->get->MAILBOX[i-1]).
||EMAIL = (USER || SERVER || MAILBOX).
问题回答

What about if u try this:

USERX = (read->USERX | write->USERX).
USERY = (read->USERY | write->USERY).


MAILBOX(N=3) = X[N],
X[i:0..N] = (when (i<3) write->put->X[i+1] 
| when (i>0) read->get->X[i-1]).

MAILBOX1(N=3) = Y[N],
Y[j:0..N] = (when (j<3) write->put->Y[j+1] 
| when (j>0) read->get->Y[j-1]).



SERVER = (read->get->SERVER | write->put->SERVER).

||EMAIL = (USERX || USERY || SERVER || MAILBOX ||  MAILBOX1).




相关问题
Run EXE from client side

I need run an exe file from client side. The Exe file exist in my C: Directory. I need run this exe file from my WEB site. How can I co this?

Security in PHP

I ve written some PHP scripts to do some server-side work on a headless linux server machine on a LAN. For example, I have http://ipadress/php/operations.php?operation=registerUser&uName=X&...

EMAIL server FSP model

For my assignment I need to develop FSP model for email server and client. I manage to write simple model which describes one user, server and his mailbox, but I am having problems changing this ...

Calling a service from a callback method in Client

I have a scenario where, upon receiving a command on one of the callback methods in client, the client needs to call another service. For example: In OnNewCommand() callback method client receives a ...

ServiceContractGenerator vs ServiceDescriptionImporter

I m trying to build a light-weight SOAP client without using Add Service Reference. Ideally, this client should work for as many services as possible. Currently, it uses ServiceDescriptionImporter to ...

Simple server and client request/response in C#

OK. I just want to know if this can be done. I m using C# asp.net language. I want to send a structure to a webserver from a webpage (much like you you can pass a structure to a function). The ...

热门标签