public abstract class AbstractSocketEvent extends java.lang.Object implements ISocketEvent
Modifier | Constructor and Description |
---|---|
protected |
AbstractSocketEvent(ISocketEventSource source,
java.net.Socket factorySocket,
java.net.Socket wrappedSocket) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getEventName() |
java.net.Socket |
getFactorySocket() |
java.net.Socket |
getSocket() |
ISocketEventSource |
getSource() |
boolean |
isSameFactorySocket(ISocketEvent event) |
protected void |
setSocket(java.net.Socket socket) |
java.lang.String |
toString() |
protected AbstractSocketEvent(ISocketEventSource source, java.net.Socket factorySocket, java.net.Socket wrappedSocket)
public ISocketEventSource getSource()
getSource
in interface ISocketEvent
public java.net.Socket getFactorySocket()
getFactorySocket
in interface ISocketEvent
public boolean isSameFactorySocket(ISocketEvent event)
isSameFactorySocket
in interface ISocketEvent
public java.net.Socket getSocket()
getSocket
in interface ISocketEvent
protected void setSocket(java.net.Socket socket)
public java.lang.String toString()
toString
in class java.lang.Object
protected abstract java.lang.String getEventName()