Class ProxyEvent

java.lang.Object
ecmwf.common.technical.ProxyEvent
All Implemented Interfaces:
Serializable

public final class ProxyEvent extends Object implements Serializable
The Class ProxyEvent.
See Also:
  • Constructor Details

    • ProxyEvent

      public ProxyEvent(ProxySocket proxy)
      Instantiates a new proxy event.
      Parameters:
      proxy - the proxy
  • Method Details

    • setUpload

      public void setUpload(boolean upload)
      Sets the upload.
      Parameters:
      upload - the new upload
    • getUpload

      public boolean getUpload()
      Gets the upload.
      Returns:
      the upload
    • getProtocol

      public String getProtocol()
      Gets the protocol.
      Returns:
      the protocol
    • setProtocol

      public void setProtocol(String protocol)
      Sets the protocol.
      Parameters:
      protocol - the new protocol
    • getStartTime

      public long getStartTime()
      Gets the start time.
      Returns:
      the start time
    • setStartTime

      public void setStartTime(long startTime)
      Sets the start time.
      Parameters:
      startTime - the new start time
    • getDuration

      public long getDuration()
      Gets the duration.
      Returns:
      the duration
    • setDuration

      public void setDuration(long duration)
      Sets the duration.
      Parameters:
      duration - the new duration
    • getSent

      public long getSent()
      Gets the sent.
      Returns:
      the sent
    • setSent

      public void setSent(long sent)
      Sets the sent.
      Parameters:
      sent - the new sent
    • getRemoteHost

      public String getRemoteHost()
      Gets the remote host.
      Returns:
      the remote host
    • setRemoteHost

      public void setRemoteHost(String remoteHost)
      Sets the remote host.
      Parameters:
      remoteHost - the new remote host
    • getLocalHost

      public String getLocalHost()
      Gets the local host.
      Returns:
      the local host
    • setLocalHost

      public void setLocalHost(String localHost)
      Sets the local host.
      Parameters:
      localHost - the new local host
    • getUserName

      public String getUserName()
      Gets the user name.
      Returns:
      the user name
    • setUserName

      public void setUserName(String userName)
      Sets the user name.
      Parameters:
      userName - the new user name
    • getUserType

      public ProxyEvent.UserType getUserType()
      Gets the user type.
      Returns:
      the user type
    • setUserType

      public void setUserType(ProxyEvent.UserType userType)
      Sets the user type.
      Parameters:
      userType - the new user type