de.mud.jta.event
Class SocketRequest

java.lang.Object
  extended by de.mud.jta.event.SocketRequest
All Implemented Interfaces:
PluginMessage

public class SocketRequest
extends java.lang.Object
implements PluginMessage

Notification of a socket request. Send this message if the system should connect or disconnect.

Maintainer: Matthias L. Jugel

Version:
$Id: SocketRequest.java 499 2005-09-29 08:24:54Z leo $
Author:
Matthias L. Jugel, Marcus Mei???ner

Constructor Summary
SocketRequest()
          Create a new disconnect message
SocketRequest(java.lang.String host, int port)
          Create a new connect message
 
Method Summary
 java.lang.Object firePluginMessage(PluginListener pl)
          Tell all listeners that we would like to connect.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketRequest

public SocketRequest()
Create a new disconnect message


SocketRequest

public SocketRequest(java.lang.String host,
                     int port)
Create a new connect message

Method Detail

firePluginMessage

public java.lang.Object firePluginMessage(PluginListener pl)
Tell all listeners that we would like to connect.

Specified by:
firePluginMessage in interface PluginMessage
Parameters:
pl - the list of plugin message listeners
Returns:
the terminal type or null