|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--moses.controller.Law
The Law class is the root of all java law classes. Each java law implementation
should extend this class, directly or indirectly. A law, in general, provides the
following members:
In order to prevent the transport of state between consecutive event invocations, no law class is allowed to declare any additional field member variables. This rule is enforced through reflection mechanism whenever a law class is loaded.
Event methods are not invoked directly by the user programmer. They are invoked by the controller when it detects specific events. Sometimes the event methods overlap in scope (i.e. an event at the controller can map to more than one method). In this case, there are resolution methods that specify what event method is executed. These resolution specifications are described together with the method description.
The primitive operation methods are not carried out at the moment of invocation. They are merely packed into a list of operations that are carried out at after the event method has returned.
| Field Summary | |
moses.controlState.Term |
AList
Removed and Appended Term List. |
long |
Clock
"Clock" environment variable |
moses.controlState.Term |
CS
Control State and Distinguished Control State Terms. |
moses.controlState.Term |
DCS
Control State and Distinguished Control State Terms. |
java.util.Vector |
doList
This variable holds the list of do operation as resulted after evaluation of each event. |
moses.message.Message |
Msg
Environment variables. |
java.lang.String |
Peer
|
java.lang.String |
PeerHash
|
moses.controlState.Term |
RList
Removed and Appended Term List. |
java.lang.String |
Self
|
java.lang.String[] |
SubjectHash
|
java.lang.String |
ThisLawHash
|
java.lang.String |
ThisLawName
|
| Constructor Summary | |
Law()
|
|
| Method Summary | |
void |
adopted(java.lang.String arg)
Adopted event. |
void |
adopted(java.lang.String arg,
java.lang.String[] issuer,
java.lang.String[] subject,
java.lang.String[] attributes)
Adopted event. |
void |
arrived(java.lang.String source,
byte[] message,
java.lang.String dest)
Arrived event. |
void |
arrived(java.lang.String source,
moses.message.Message message,
java.lang.String dest)
Arrived event. |
void |
arrived(java.lang.String source,
java.lang.Object message,
java.lang.String dest)
Arrived event. |
void |
arrived(java.lang.String source,
java.lang.String sourcelaw,
byte[] message,
java.lang.String dest)
Arrived event. |
void |
arrived(java.lang.String source,
java.lang.String sourcelaw,
moses.message.Message message,
java.lang.String dest)
Arrived event. |
void |
arrived(java.lang.String source,
java.lang.String sourcelaw,
java.lang.Object message,
java.lang.String dest)
Arrived event. |
void |
arrived(java.lang.String source,
java.lang.String message,
java.lang.String dest)
Arrived event. |
void |
arrived(java.lang.String source,
java.lang.String sourcelaw,
java.lang.String message,
java.lang.String dest)
Arrived event. |
void |
certified(java.lang.String source,
java.lang.String issuer,
java.lang.String subject,
java.lang.String attributes)
Certified event. |
void |
created(java.lang.String creator,
java.lang.String claw,
java.lang.String arg)
Created event. |
void |
disconnected()
This event is triggered when an agent disconnects from its controller. |
void |
doAdd(java.lang.String st)
Control State primitive operation. |
void |
doAdd(moses.controlState.Term t)
Control State primitive operation. |
void |
doAddAuthority(java.lang.String name,
java.lang.String ref)
Authority Table primitive operation. |
void |
doAddAuthorityH(java.lang.String name,
java.lang.String hash)
Authority Table primitive operation. |
void |
doAddAuthorityU(java.lang.String name,
java.lang.String url)
Authority Table primitive operation. |
void |
doAddCS(java.lang.String st)
Control State primitive operation. |
void |
doAddCS(moses.controlState.Term t)
Control State primitive operation. |
void |
doAddPortal(java.lang.String name,
java.lang.String ref)
Portal Table primitive operation. |
void |
doAddPortalH(java.lang.String name,
java.lang.String hash)
Portal Table primitive operation. |
void |
doAddPortalHA(java.lang.String name,
java.lang.String hash,
java.lang.String authority)
Portal Table primitive operation. |
void |
doAddPortalU(java.lang.String name,
java.lang.String url)
Portal Table primitive operation. |
void |
doAddPortalUA(java.lang.String name,
java.lang.String url,
java.lang.String authority)
Portal Table primitive operation. |
void |
doCreate(java.lang.String name,
java.lang.String controllerHome,
java.lang.String lname,
java.lang.String arg)
Reflexive-agent primitive operation. |
void |
doCreate(java.lang.String name,
java.lang.String pwd,
java.lang.String controllerHome,
java.lang.String lname,
java.lang.String arg)
Reflexive-agent primitive operation. |
void |
doCreateFP()
Control State primitive operation. |
void |
doDecr(java.lang.String st,
int d)
Control State primitive operation. |
void |
doDecr(moses.controlState.Term t,
int d)
Control State primitive operation. |
void |
doDelAuthority(java.lang.String name)
Authority Table primitive operation. |
void |
doDeliver()
Deliver primitive operation. |
void |
doDeliver(moses.message.Message message)
Deliver primitive operation. |
void |
doDeliver(java.lang.String source,
byte[] message,
java.lang.String dest)
Deliver primitive operation. |
void |
doDeliver(java.lang.String source,
moses.message.Message message,
java.lang.String dest)
Deliver primitive operation. |
void |
doDeliver(java.lang.String source,
java.lang.Object message,
java.lang.String dest)
Deliver primitive operation. |
void |
doDeliver(java.lang.String source,
java.lang.String lname,
byte[] message,
java.lang.String dest)
Deliver primitive operation. |
void |
doDeliver(java.lang.String source,
java.lang.String lname,
moses.message.Message message,
java.lang.String dest)
Deliver primitive operation, with Message data type. |
void |
doDeliver(java.lang.String source,
java.lang.String lname,
java.lang.Object message,
java.lang.String dest)
Deliver primitive operation. |
void |
doDeliver(java.lang.String source,
java.lang.String message,
java.lang.String dest)
Deliver primitive operation. |
void |
doDeliver(java.lang.String source,
java.lang.String lname,
java.lang.String message,
java.lang.String dest)
Deliver primitive operation. |
void |
doDelPortal(java.lang.String name)
Portal Table primitive operation. |
void |
doDiscloseAllCS()
Control State primitive operation. |
void |
doDiscloseCS(java.lang.String st)
Control State primitive operation. |
void |
doDiscloseCS(moses.controlState.Term t)
Control State primitive operation. |
void |
doDiscloseLaw()
Control State primitive operation. |
void |
doEnterTest()
Test and help primitive operation. |
void |
doExitTest()
Test and help primitive operation. |
void |
doForward()
Forward primitive operation. |
void |
doForward(moses.message.Message message)
Forward primitive operation. |
void |
doForward(java.lang.String source,
byte[] message,
java.lang.String dest)
Forward primitive operation. |
void |
doForward(java.lang.String source,
byte[] message,
java.lang.String dest,
java.lang.String lname)
Forward primitive operation. |
void |
doForward(java.lang.String source,
moses.message.Message message,
java.lang.String dest)
Forward primitive operation. |
void |
doForward(java.lang.String source,
moses.message.Message message,
java.lang.String dest,
java.lang.String lname)
Forward primitive operation. |
void |
doForward(java.lang.String source,
java.lang.Object message,
java.lang.String dest)
Forward primitive operation. |
void |
doForward(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
java.lang.String lname)
Forward primitive operation. |
void |
doForward(java.lang.String source,
java.lang.String message,
java.lang.String dest)
Forward primitive operation. |
void |
doForward(java.lang.String source,
java.lang.String message,
java.lang.String dest,
java.lang.String lname)
Forward primitive operation. |
void |
doImposeObligation(java.lang.String st,
int dt)
Obligation primitive operation. |
void |
doImposeObligation(java.lang.String st,
int dt,
java.lang.String units)
Obligation primitive operation. |
void |
doImposeObligation(moses.controlState.Term t,
int dt)
Obligation primitive operation. |
void |
doImposeObligation(moses.controlState.Term t,
int dt,
java.lang.String units)
Obligation primitive operation. |
void |
doImposeStateObligation(java.lang.String st)
Auditing primitive operation. |
void |
doImposeStateObligation(moses.controlState.Term t)
Auditing primitive operation. |
void |
doImposeStateObligationAll()
Auditing primitive operation. |
void |
doIncr(java.lang.String st,
int d)
Control State primitive operation.It increments the term from the Control State that matches exactly the first argument with the second one. |
void |
doIncr(moses.controlState.Term t,
int d)
Control State primitive operation. |
void |
doMulticast(java.lang.String[] destinations,
java.lang.String[] laws)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
byte[] message,
java.lang.String[] destinations)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
byte[] message,
java.lang.String[] destinations,
java.lang.String[] laws)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
moses.message.Message message,
java.lang.String[] destinations)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
moses.message.Message message,
java.lang.String[] destinations,
java.lang.String[] laws)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
java.lang.Object message,
java.lang.String[] destinations)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
java.lang.Object message,
java.lang.String[] destinations,
java.lang.String[] laws)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
java.lang.String message,
java.lang.String[] destinations)
Multicast primitive operation. |
void |
doMulticast(java.lang.String source,
java.lang.String message,
java.lang.String[] destinations,
java.lang.String[] laws)
Multicast primitive operation. |
void |
doQuit()
Agent primitive operation. |
void |
doRelease(moses.message.Message message)
Release primitive operation. |
void |
doRelease(java.lang.String source,
byte[] message,
java.lang.String dest,
int port)
Release primitive operation. |
void |
doRelease(java.lang.String source,
moses.message.Message message,
java.lang.String dest,
int port)
Release primitive operation. |
void |
doRelease(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
int port)
Release primitive operation. |
void |
doRelease(java.lang.String source,
java.lang.String message,
java.lang.String dest,
int port)
Release primitive operation. |
void |
doRemove(java.lang.String st)
Control State primitive operation. |
void |
doRemove(moses.controlState.Term t)
Control State primitive operation. |
void |
doRepealObligation(java.lang.String st)
Obligation primitive operation. |
void |
doRepealObligation(moses.controlState.Term t)
Obligation primitive operation. |
void |
doRepealStateObligation(java.lang.String st)
Auditing primitive operation. |
void |
doRepealStateObligation(moses.controlState.Term t)
Auditing primitive operation. |
void |
doRepealStateObligationAll()
Auditing primitive operation. |
void |
doReplace(java.lang.String soldt,
java.lang.String snewt)
Control State primitive operation. |
void |
doReplace(moses.controlState.Term oldt,
moses.controlState.Term newt)
Control State primitive operation. |
void |
doReplaceCS(java.lang.String st)
Control State primitive operation. |
void |
doReplaceCS(moses.controlState.Term t)
Control State primitive operation. |
void |
doSetPassword(java.lang.String pwd)
Agent primitive operation. |
void |
doShowEvents(java.lang.String evlist,
java.lang.String cslist)
Test and help primitive operation. |
void |
doShowEvents(moses.controlState.Term evlist,
moses.controlState.Term cslist)
Test and help primitive operation. |
void |
exception(moses.message.Message m,
java.lang.String failurecause)
Exception event. |
void |
exception(java.lang.String source,
byte[] message,
java.lang.String dest,
int port,
java.lang.String failurecause)
Exception event. |
void |
exception(java.lang.String source,
byte[] message,
java.lang.String dest,
java.lang.String law,
java.lang.String failurecause)
Exception event. |
void |
exception(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
int port,
java.lang.String failurecause)
Exception event. |
void |
exception(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
java.lang.String law,
java.lang.String failurecause)
Exception event. |
void |
exception(java.lang.String source,
java.lang.String message,
java.lang.String dest,
int port,
java.lang.String failurecause)
Exception event. |
void |
exception(java.lang.String name,
java.lang.String chost,
java.lang.String arg,
java.lang.String failurecause)
Exception event. |
void |
exception(java.lang.String source,
java.lang.String message,
java.lang.String dest,
java.lang.String law,
java.lang.String failurecause)
Exception event. |
void |
obligationDue(moses.controlState.Term type)
This event is triggered when an obligation imposed on this agent becomes due. |
void |
reconnected()
This event is triggered when an agent reconnects to a controller after some off-line period. |
void |
sent(java.lang.String source,
byte[] message,
java.lang.String dest)
Sent event. |
void |
sent(java.lang.String source,
byte[] message,
java.lang.String dest,
java.lang.String destlaw)
Sent event. |
void |
sent(java.lang.String source,
moses.message.Message message,
java.lang.String dest)
Sent event. |
void |
sent(java.lang.String source,
moses.message.Message message,
java.lang.String dest,
java.lang.String destlaw)
Sent event. |
void |
sent(java.lang.String source,
java.lang.Object message,
java.lang.String dest)
Sent event. |
void |
sent(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
java.lang.String destlaw)
Sent event. |
void |
sent(java.lang.String source,
java.lang.String message,
java.lang.String dest)
Sent event. |
void |
sent(java.lang.String source,
java.lang.String message,
java.lang.String dest,
java.lang.String destlaw)
Sent event. |
void |
stateChanged()
This event is triggered when an audited term in the control state is modified as a result of a previous primitive operation affecting the state. |
void |
submitted(java.lang.String source,
int port,
byte[] message,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
byte[] message,
java.lang.String pwd,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
byte[] message,
java.lang.String issuer,
java.lang.String subject,
java.lang.String attributes,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
moses.message.Message message,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
moses.message.Message message,
java.lang.String pwd,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
moses.message.Message message,
java.lang.String issuer,
java.lang.String subject,
java.lang.String attributes,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
java.lang.Object message,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
java.lang.Object message,
java.lang.String pwd,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
java.lang.Object message,
java.lang.String issuer,
java.lang.String subject,
java.lang.String attributes,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
java.lang.String message,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
java.lang.String message,
java.lang.String pwd,
java.lang.String dest)
Submitted event. |
void |
submitted(java.lang.String source,
int port,
java.lang.String message,
java.lang.String issuer,
java.lang.String subject,
java.lang.String attributes,
java.lang.String dest)
Submitted event. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public moses.controlState.Term CS
public moses.controlState.Term DCS
public moses.controlState.Term RList
public moses.controlState.Term AList
public moses.message.Message Msg
public java.lang.String Self
public java.lang.String Peer
public java.lang.String PeerHash
public java.lang.String[] SubjectHash
public java.lang.String ThisLawName
public java.lang.String ThisLawHash
public long Clock
public java.util.Vector doList
| Constructor Detail |
public Law()
| Method Detail |
public void adopted(java.lang.String arg)
arg - represents the argument supplied as part of the adoption message.Member.adopt(String, String)
public void adopted(java.lang.String arg,
java.lang.String[] issuer,
java.lang.String[] subject,
java.lang.String[] attributes)
arg - represents the argument supplied as part of the adoption message .issuer - represents the authority table name of the issuer of this certificate.subject - represents the authority table name of the subject of this certificate
(or the agent name in the case of a self certificate ).attributes - represents the attributes of the certificate.Member.adopt(String, String).
public void created(java.lang.String creator,
java.lang.String claw,
java.lang.String arg)
creator - represents the name of the agent that executed the doCreate primitiveclaw - represents the law of the creator according to this law portal.arg - represents a customary argument supplied as part of the doCreate primitive.doCreate(String name, String controllerHome, String lname, String arg)public void disconnected()
public void reconnected()
public void obligationDue(moses.controlState.Term type)
type - argument represents the type of the due obligation.doImposeObligation(Term t, int dt)public void stateChanged()
doImposeStateObligation(Term t)
public void certified(java.lang.String source,
java.lang.String issuer,
java.lang.String subject,
java.lang.String attributes)
source - represent the source of the message (this agent full name).issuer - represents the name of the issuer according to this Authority table.subject - represents the name of the subject according to the certificate
(the Authority Table name corresponding to the public key of the subject); if this
is a self certificate, then this field will be the name of this agent (agent.equals(subject)).Member.sendCertificate(LGICert cert)
public void sent(java.lang.String source,
java.lang.String message,
java.lang.String dest)
source - represents the source of this messagemessage - represents the message itself.
public void sent(java.lang.String source,
java.lang.Object message,
java.lang.String dest)
source - represents the source of this messagemessage - represents the message itself.
public void sent(java.lang.String source,
byte[] message,
java.lang.String dest)
source - represents the source of this messagemessage - represents the message itself.
public void sent(java.lang.String source,
moses.message.Message message,
java.lang.String dest)
source - represents the source of this messagemessage - represents the message itself.
public void sent(java.lang.String source,
java.lang.String message,
java.lang.String dest,
java.lang.String destlaw)
source - represents the source of this messagedestlaw - represents the name of the law the destinationmessage - represents the message itself.
public void sent(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
java.lang.String destlaw)
source - represents the source of this messagedestlaw - represents the name of the law the destinationmessage - represents the message itself.
public void sent(java.lang.String source,
byte[] message,
java.lang.String dest,
java.lang.String destlaw)
source - represents the source of this messagedestlaw - represents the name of the law the destinationmessage - represents the message itself.
public void sent(java.lang.String source,
moses.message.Message message,
java.lang.String dest,
java.lang.String destlaw)
source - represents the source of this messagedestlaw - represents the name of the law the destinationmessage - represents the message itself.
public void arrived(java.lang.String source,
java.lang.String message,
java.lang.String dest)
source - represents the source of this message.message - represents the message itself.
public void arrived(java.lang.String source,
java.lang.Object message,
java.lang.String dest)
source - represents the source of this message.message - represents the message itself.
public void arrived(java.lang.String source,
byte[] message,
java.lang.String dest)
source - represents the source of this message.message - represents the message itself.
public void arrived(java.lang.String source,
moses.message.Message message,
java.lang.String dest)
source - represents the source of this message.message - represents the message itself.
public void arrived(java.lang.String source,
java.lang.String sourcelaw,
java.lang.String message,
java.lang.String dest)
source - represents the source of this message.message - represents the message itself.
public void arrived(java.lang.String source,
java.lang.String sourcelaw,
java.lang.Object message,
java.lang.String dest)
source - represents the source of this message.sourcelaw - represents the name of the law the source.message - represents the message itself.
public void arrived(java.lang.String source,
java.lang.String sourcelaw,
byte[] message,
java.lang.String dest)
source - represents the source of this message.sourcelaw - represents the name of the law the source.message - represents the message itself.
public void arrived(java.lang.String source,
java.lang.String sourcelaw,
moses.message.Message message,
java.lang.String dest)
source - represents the source of this message.sourcelaw - represents the name of the law the source.message - represents the message itself.
public void exception(java.lang.String source,
java.lang.String message,
java.lang.String dest,
java.lang.String law,
java.lang.String failurecause)
This method handles the exceptions related to doForward operations.
failurecause - argument represents the cause of the failure for some primitive operation.source - represents the source of the faulty message.message - represents the payload of the message.law - represents the law of the original, faulty message.
public void exception(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
java.lang.String law,
java.lang.String failurecause)
This method handles the exceptions related to doForward operations.
failurecause - argument represents the cause of the failure for some primitive operation.source - represents the source of the faulty message.message - represents the payload of the message.law - represents the law of the original, faulty message.
public void exception(java.lang.String source,
byte[] message,
java.lang.String dest,
java.lang.String law,
java.lang.String failurecause)
This method handles the exceptions related to doForward operations.
failurecause - argument represents the cause of the failure for some primitive operation.source - represents the source of the faulty message.message - represents the payload of the message.law - represents the law of the original, faulty message.
public void exception(java.lang.String name,
java.lang.String chost,
java.lang.String arg,
java.lang.String failurecause)
This method handles the exceptions related to doCreate operations.
failurecause - argument represents the cause of the failure for some primitive operation.name - represents the name of the agent to have been created.chost - represents the host name of the destination controller.arg - represents the arbitrary argument to the faulty creation operation.
public void exception(java.lang.String source,
java.lang.String message,
java.lang.String dest,
int port,
java.lang.String failurecause)
This method handles the exceptions related to doRelease operations.
failurecause - argument represents the cause of the failure for some primitive operation.source - represents the source of the faulty message.dest - represents the host name of the destination of the faulty message.port - represents the TCPIP port for the destination of the faulty message..message - represents the payload of the message.
public void exception(java.lang.String source,
java.lang.Object message,
java.lang.String dest,
int port,
java.lang.String failurecause)
This method handles the exceptions related to doRelease operations.
failurecause - argument represents the cause of the failure for some primitive operation.source - represents the source of the faulty message.dest - represents the host name of the destination of the faulty message.port - represents the TCPIP port for the destination of the faulty message..message - represents the payload of the message.
public void exception(java.lang.String source,
byte[] message,
java.lang.String dest,
int port,
java.lang.String failurecause)
This method handles the exceptions related to doRelease operations.
failurecause - argument represents the cause of the failure for some primitive operation.source - represents the source of the faulty message.dest - represents the host name of the destination of the faulty message.port - represents the TCPIP port for the destination of the faulty message..message - represents the payload of the message.
public void exception(moses.message.Message m,
java.lang.String failurecause)
This method handles the exceptions related to doRelease operations.
failurecause - argument represents the cause of the failure for some primitive operation.m - represents the Message corresponding to, or carrying, the faulty primitive operation.
public void submitted(java.lang.String source,
int port,
java.lang.String message,
java.lang.String dest)
This method handles the submissions with no method of authentication.
source - represents the host name of the source of this message.port - represents the TCPIP port declared by the source of the message.message - represents the message itself.
public void submitted(java.lang.String source,
int port,
java.lang.Object message,
java.lang.String dest)
This method handles the submissions with no method of authentication.
source - represents the host name of the source of this message.port - represents the TCPIP port declared by the source of the message.message - represents the message itself.
public void submitted(java.lang.String source,
int port,
byte[] message,
java.lang.String dest)
This method handles the submissions with no method of authentication.
source - represents the host name of the source of this message.port - represents the TCPIP port declared by the source of the message.message - represents the message itself.
public void submitted(java.lang.String source,
int port,
moses.message.Message message,
java.lang.String dest)
This method handles the submissions with no method of authentication.
source - represents the host name of the source of this message.port - represents the TCPIP port declared by the source of the message.message - represents the message itself.
public void submitted(java.lang.String source,
int port,
java.lang.String message,
java.lang.String pwd,
java.lang.String dest)
This method handles the submissions with password authentication.
source - represents the host name of the source of this message.port - represents the TCPIP port declared by the source of the message.message - represents the message itself.
public void submitted(java.lang.String source,
int port,
java.lang.Object message,
java.lang.String pwd,
java.lang.String dest)
This method handles the submissions with password authentication.
source - represents the host name of the source of this message.port - represents the TCPIP port declared by the source of the message.message - represents the message itself.
public void submitted(java.lang.String source,
int port,
byte[] message,
java.lang.String pwd,
java.lang.String dest)
This method handles the submissions with password authentication.
source - represents the host name of the source of this message.port - represents the TCPIP port declared by the source of the message.message - represents the message itself.
public void submitted(java.lang.String source,
i