    001    package net.minecraft.src;
    002
    003    import cpw.mods.fml.common.Side;
    004    import cpw.mods.fml.common.asm.SideOnly;
    005    import net.minecraft.client.Minecraft;
    006
    007    @SideOnly(Side.CLIENT)
    008    public class LanServer
    009    {
    010        private String field_77492_a;
    011        private String field_77490_b;
    012
    013        /** Last time this LanServer was seen. */
    014        private long timeLastSeen;
    015
    016        public LanServer(String par1Str, String par2Str)
    017        {
    018            this.field_77492_a = par1Str;
    019            this.field_77490_b = par2Str;
    020            this.timeLastSeen = Minecraft.getSystemTime();
    021        }
    022
    023        public String func_77487_a()
    024        {
    025            return this.field_77492_a;
    026        }
    027
    028        public String func_77488_b()
    029        {
    030            return this.field_77490_b;
    031        }
    032
    033        /**
    034         * Updates the time this LanServer was last seen.
    035         */
    036        public void updateLastSeen()
    037        {
    038            this.timeLastSeen = Minecraft.getSystemTime();
    039        }
    040    }