SK.gnome.dwarf.mail.smtp
Class Node

java.lang.Object
  extended bySK.gnome.dwarf.mail.smtp.Node

public final class Node
extends java.lang.Object

This class represents a mail queue node.

A node identifies the particular mail queue while it is being processed. Nodes may refer either to a domain name for local or remote delivery, or a special queue processed by mail agents. Thus there may be many mail queues - one for the mail agent processing and one for each particular domain the messages are to be delivered to.

The particular queue processing attempts are identified by the value returned from getId() method. In the fact, this string ID identifies each particular delivery attempt, too.


Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean getForceDelivery()
          Whether the message processing is forced regardless of the time the delivery was scheduled for.
 java.lang.String getId()
          Returns the node processing identification.
 java.lang.String getName()
          Returns the node name.
 int hashCode()
           
 java.lang.String toString()
          Returns the string representation of the node.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the node name.

It may be either a target domain name or a special name of queue which handles messages for processing by mail agents.

Returns:
the node name

getId

public java.lang.String getId()
Returns the node processing identification.

Returns:
the identification

getForceDelivery

public boolean getForceDelivery()
Whether the message processing is forced regardless of the time the delivery was scheduled for.

Returns:
true if the scheduled time should be ignored, false otherwise

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

toString

public java.lang.String toString()
Returns the string representation of the node.

Returns:
the string node representation


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.