001 package com.croftsoft.apps.chat.request;
002
003 import com.croftsoft.core.lang.NullArgumentException;
004
005 import com.croftsoft.core.security.Authentication;
006
007 /*********************************************************************
008 * A request to get a view of the world.
009 *
010 * @version
011 * 2003-06-20
012 * @since
013 * 2003-06-06
014 * @author
015 * <a href="https://www.croftsoft.com/">David Wallace Croft</a>
016 *********************************************************************/
017
018 public final class ViewRequest
019 extends CoalesceableRequest
020 //////////////////////////////////////////////////////////////////////
021 //////////////////////////////////////////////////////////////////////
022 {
023
024 private static final long serialVersionUID = 0L;
025
026 //////////////////////////////////////////////////////////////////////
027 //////////////////////////////////////////////////////////////////////
028
029 public ViewRequest ( Authentication authentication )
030 //////////////////////////////////////////////////////////////////////
031 {
032 super ( authentication );
033 }
034
035 //////////////////////////////////////////////////////////////////////
036 //////////////////////////////////////////////////////////////////////
037
038 public boolean equals ( Object other )
039 //////////////////////////////////////////////////////////////////////
040 {
041 if ( other == null )
042 {
043 return false;
044 }
045
046 if ( other.getClass ( ) != ViewRequest.class )
047 {
048 return false;
049 }
050
051 return true;
052 }
053
054 //////////////////////////////////////////////////////////////////////
055 //////////////////////////////////////////////////////////////////////
056 }