.NET Remotingのためのクラス。(本クラスの内容を変更してしまうと通信できなくなってしまいます)
상속: System.MarshalByRefObject
예제 #1
0
 /// <summary>
 /// オブジェクト生成。
 /// 利用後にはDispose()で開放してください。
 /// </summary>
 public BouyomiChanClient()
 {
     ClientChannel = new IpcClientChannel();
     ChannelServices.RegisterChannel(ClientChannel, false);
     RemotingObject = (BouyomiChanRemoting)Activator.GetObject(typeof(BouyomiChanRemoting), "ipc://BouyomiChan/Remoting");
 }
예제 #2
0
 /// <summary>
 /// オブジェクト生成。
 /// 利用後にはDispose()で開放してください。
 /// </summary>
 public BouyomiChanClient()
 {
     ClientChannel = new IpcClientChannel();
     ChannelServices.RegisterChannel(ClientChannel, false);
     RemotingObject = (BouyomiChanRemoting)Activator.GetObject(typeof(BouyomiChanRemoting), "ipc://BouyomiChan/Remoting");
 }
예제 #3
0
 /// <summary>
 /// オブジェクト生成。
 /// 利用後にはDispose()で開放してください。
 /// </summary>
 public BouyomiChanClient()
 {
     ClientChannel = new IpcClientChannel("hogehoge", null); //チャンネル名は何でもいい
     ChannelServices.RegisterChannel(ClientChannel, false);
     RemotingObject = (BouyomiChanRemoting)Activator.GetObject(typeof(BouyomiChanRemoting), "ipc://BouyomiChan/Remoting");
 }
예제 #4
0
 /// <summary>
 /// オブジェクト生成。
 /// 利用後にはDispose()で開放してください。
 /// </summary>
 public BouyomiChanClient()
 {
     ClientChannel = new IpcClientChannel("hogehoge", null); //チャンネル名は何でもいい
     ChannelServices.RegisterChannel(ClientChannel, false);
     RemotingObject = (BouyomiChanRemoting)Activator.GetObject(typeof(BouyomiChanRemoting), "ipc://BouyomiChan/Remoting");
 }