de.mud.jta.event
Class SocketRequest

java.lang.Object
  |
  +--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,v 2.3 2002/05/06 07:24:20 leo Exp $
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