Class Welcome

java.lang.Object
org.vrspace.server.dto.Welcome

public class Welcome extends Object
Welcome message is first one sent once the client enters a world. Contains current Client object, used by the client to identify itself. Optionally it also contains list of permanent objects.
Author:
joe
  • Constructor Details

    • Welcome

      public Welcome(Client client, VRObject... permanents)
    • Welcome

      public Welcome()
    • Welcome

      public Welcome(@NonNull @NonNull Client client, @NonNull @NonNull Set<VRObject> permanents)
  • Method Details

    • getClient

      @NonNull public @NonNull Client getClient()
    • getPermanents

      @NonNull public @NonNull Set<VRObject> getPermanents()
    • getTimestamp

      public LocalDateTime getTimestamp()
    • setClient

      public void setClient(@NonNull @NonNull Client client)
    • setPermanents

      public void setPermanents(@NonNull @NonNull Set<VRObject> permanents)
    • setTimestamp

      public void setTimestamp(LocalDateTime timestamp)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object