.NET Remotingのためのクラス。(本クラスの内容を変更してしまうと通信できなくなってしまいます)
Inheritance: System.MarshalByRefObject
Exemplo n.º 1
0
 /// <summary>
 /// オブジェクト生成。
 /// 利用後にはDispose()で開放してください。
 /// </summary>
 public BouyomiChanClient()
 {
     ClientChannel = new IpcClientChannel();
     ChannelServices.RegisterChannel(ClientChannel, false);
     RemotingObject = (BouyomiChanRemoting)Activator.GetObject(typeof(BouyomiChanRemoting), "ipc://BouyomiChan/Remoting");
 }
Exemplo n.º 2
0
 /// <summary>
 /// オブジェクト生成。
 /// 利用後にはDispose()で開放してください。
 /// </summary>
 public BouyomiChanClient()
 {
     ClientChannel = new IpcClientChannel();
     ChannelServices.RegisterChannel(ClientChannel, false);
     RemotingObject = (BouyomiChanRemoting)Activator.GetObject(typeof(BouyomiChanRemoting), "ipc://BouyomiChan/Remoting");
 }
Exemplo n.º 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");
 }
Exemplo n.º 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");
 }