Package org.yamcs

Class ConnectedClient

  • Direct Known Subclasses:
    ConnectedWebSocketClient

    public class ConnectedClient
    extends Object
    A client connected to Yamcs Clients may optionally be connected with a processor.
    • Constructor Detail

      • ConnectedClient

        public ConnectedClient​(User user,
                               String applicationName,
                               String address)
    • Method Detail

      • getId

        public int getId()
      • setClientId

        public void setClientId​(int clientId)
      • getUser

        public User getUser()
        The user associated with the connected client
      • getApplicationName

        public String getApplicationName()
        Descriptive application name of the connected client
      • getAddress

        public String getAddress()
      • getLoginTime

        public long getLoginTime()
        The time at which the client connected to Yamcs
      • processorQuit

        public void processorQuit()
        Called when the processor is closing down
      • getProcessor

        public Processor getProcessor()
        Returns:
        the current processor the client is connected to (if any).