Google Answers Logo
View Question
 
Q: Client/Server communication ( No Answer,   0 Comments )
Question  
Subject: Client/Server communication
Category: Computers > Programming
Asked by: rdvish-ga
List Price: $20.00
Posted: 30 Sep 2004 07:51 PDT
Expires: 13 Oct 2004 17:48 PDT
Question ID: 408353
The following interface (I am defining the signatures only, you do the
body) may be used to work with an smtp server:
    public interface smtpClient {
  	public String smtpClient (String machineName, int portNumber);
  	public String login (String userName, String password); 
  	public void logout ();
	public String senderAndReceiver (String sender, String receiver);
	public String messageBodyPrefix (String message); 
	public String messageSuffix (String message);              }
	
1)Implement the above class. Write a clientDriver which is invoked at machine X. 
2) clientDriver instantiates an object that implements smtpClient by
dynamically downloading the class, smtpClient, from a remote machine
Y.
3) Call various methods, as above to send an email message through the server. 
4) server messages should be printed in the window of clientDriver. 
5) clientDriver is invoked as:
	java clientDriver  
			urlForSmtpClient smtpServerMachine smtpServePort 
			... otherCommandLineArguments
NOTE: Use commander.cs.bgsu.edu for smtp server (port number 25)
Create a readme2 file. Run the program for a variety of inputs. 
Hand-in readme file, program listing, input and output snapshots

Clarification of Question by rdvish-ga on 02 Oct 2004 17:24 PDT
Please answer this question. I am ready to pay more if anyone answers this question
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy