All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.network.mail.pop3.event.ConfigEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.network.mail.pop3.event.ConfigEvent

public class ConfigEvent
extends EventObject
The event is thrown by:
  1. UserInterfaceBean to set user, pop3 server and socks server options.
The event is caught by:
  1. CoreProtocolBean to receive new settings for user, pop3 server and socks server options.

Author:
Mohit M Sant
See Also:
ConfigListener

Variable Index

 o SET_POP3_SERVER
 o SET_SOCKS_SERVER
 o SET_SOCKSIFIED
 o SET_USER_OPTIONS

Constructor Index

 o ConfigEvent(ServerOptions, ServerOptions, UserOptions, boolean, Object)
Constructor for ConfigEvent.

Method Index

 o getPOP3Server()
Returns the POP3 server.
 o getSocksServer()
Returns the socks server.
 o getUserOptions()
Returns the user options settings.
 o isSocksified()
Returns 'true' if socks server is being used.

Variables

 o SET_SOCKS_SERVER
 public static final int SET_SOCKS_SERVER
 o SET_POP3_SERVER
 public static final int SET_POP3_SERVER
 o SET_USER_OPTIONS
 public static final int SET_USER_OPTIONS
 o SET_SOCKSIFIED
 public static final int SET_SOCKSIFIED

Constructors

 o ConfigEvent
 public ConfigEvent(ServerOptions pop3,
                    ServerOptions socks,
                    UserOptions user,
                    boolean socksified,
                    Object source)
Constructor for ConfigEvent.

Parameters:
pop3 - POP3 server details.
socks - socks server details.
user - user details.
socksified - 'true' is socksification is required, false otherwise.
source - creator of this event.

Methods

 o getPOP3Server
 public ServerOptions getPOP3Server()
Returns the POP3 server.

Returns:
POP3 server.
 o getSocksServer
 public ServerOptions getSocksServer()
Returns the socks server.

Returns:
socks server.
 o getUserOptions
 public UserOptions getUserOptions()
Returns the user options settings.

Returns:
user options.
 o isSocksified
 public boolean isSocksified()
Returns 'true' if socks server is being used.

Returns:
true if socksified, false otherwise.

All Packages  Class Hierarchy  This Package  Previous  Next  Index