de.mud.jta.event

Class SocketRequest

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(String host, int port)
Create a new connect message

Method Summary

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

Constructor Details

SocketRequest

public SocketRequest()
Create a new disconnect message

SocketRequest

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

Method Details

firePluginMessage

public 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