org.eclipse.ecf.provider.filetransfer.events.socket
Class AbstractSocketEvent
java.lang.Object
org.eclipse.ecf.provider.filetransfer.events.socket.AbstractSocketEvent
- All Implemented Interfaces:
- Event, ISocketEvent
- Direct Known Subclasses:
- SocketClosedEvent, SocketConnectedEvent, SocketCreatedEvent
public abstract class AbstractSocketEvent
- extends java.lang.Object
- implements ISocketEvent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractSocketEvent
protected AbstractSocketEvent(ISocketEventSource source,
java.net.Socket factorySocket,
java.net.Socket wrappedSocket)
getSource
public ISocketEventSource getSource()
- Specified by:
getSource
in interface ISocketEvent
getFactorySocket
public java.net.Socket getFactorySocket()
- Specified by:
getFactorySocket
in interface ISocketEvent
isSameFactorySocket
public boolean isSameFactorySocket(ISocketEvent event)
- Specified by:
isSameFactorySocket
in interface ISocketEvent
getSocket
public java.net.Socket getSocket()
- Specified by:
getSocket
in interface ISocketEvent
setSocket
protected void setSocket(java.net.Socket socket)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEventName
protected abstract java.lang.String getEventName()