网络聊天室C课程设计 第3页

网络聊天室C课程设计 第3页
using System;

namespace DCBusiness
{
 public class DCServerException : System.Runtime.Remoting.RemotingException
 {
  public DCServerException() : base()
  {
  }

  public DCServerException(string s) : base(s)
  {
  }
 }
}
using System;

namespace DCBusiness
{
 public class Invite : MarshalByRefObject
 {
  private int id;
  private Member member;
  private Conversation conversation;
  private bool isAccepted;
  private bool isSent;

  public Member InvitedMember
  {
   get{return member;}
  }
  public Conversation InvitedConversation
  {
   get{return conversation;}
  }
  public bool IsAccepted
  {
   get{return isAccepted;}
   set{isAccepted = value;}
  }

  public bool IsSent
  {
   get{return isSent;}
   set{isSent = value;}
  }
  public int Id
  {
   get{return id;}
   set{id = value;}
  }

  public Invite(Member m, Conversation c)
  {
   member = m;
   conversation = c;
   isAccepted = false;
   isSent = false;

上一页  [1] [2] [3] 

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有