fr.ove.clientserver.events
Class SocketServerEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byfr.ove.clientserver.events.SocketServerEvent
All Implemented Interfaces:
java.io.Serializable

public class SocketServerEvent
extends java.util.EventObject

The event sent by a socket server.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SocketServerEvent(java.lang.Object src)
          The constructor.
 
Method Summary
 java.net.Socket getSocket()
          Returns the socket encapsulated in the instance.
 void setSocket(java.net.Socket socket)
          Sets the socket to the instance.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocketServerEvent

public SocketServerEvent(java.lang.Object src)
The constructor.

Parameters:
src - the source of the event.
Method Detail

setSocket

public void setSocket(java.net.Socket socket)
Sets the socket to the instance.

Parameters:
socket - the socket to encapsulate.

getSocket

public java.net.Socket getSocket()
Returns the socket encapsulated in the instance.



Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.