Exemplo n.º 1
0
 /**
  * Creates a new NetSharedChannelInput
  *
  * @deprecated Use net2any instead
  * @return A new NetSharedChannelInput
  */
 public NetSharedChannelInput createNet2Any()
 {
     return(Net2AnyChannel.create(Int32.MaxValue, new ObjectNetworkMessageFilter.FilterRX()));
 }
Exemplo n.º 2
0
 /**
  * Creates a new NetSharedChannelInput with the given index and poison immunity level, which uses the given filter
  * to decode incoming messages.
  *
  * @param index
  *            The index to create the channel with
  * @param immunityLevel
  *            The immunity level to poison that the channel has
  * @param filter
  *            The filter used to decode incoming messages
  * @return A new NetSharedChannelInput
  * @//throws ArgumentException
  *             Thrown if a channel with the given index already exists.
  */
 public NetSharedChannelInput numberedNet2Any(int index, int immunityLevel, NetworkMessageFilter.FilterRx filter)
 //throws ArgumentException
 {
     return(Net2AnyChannel.create(index, immunityLevel, filter));
 }
Exemplo n.º 3
0
 /**
  * Creates a new NetSharedChannelInput with the given index that uses the given filter to decode incoming messages
  *
  * @param index
  *            The index to create the channel with
  * @param filter
  *            The filter used to decode incoming messages
  * @return A new NetSharedChannelInput
  * @//throws ArgumentException
  *             Thrown if a channel with the given index already exists
  */
 public NetSharedChannelInput numberedNet2Any(int index, NetworkMessageFilter.FilterRx filter)
 ////throws ArgumentException
 {
     return(Net2AnyChannel.create(index, Int32.MaxValue, filter));
 }
Exemplo n.º 4
0
 /**
  * Creates a new NetSharedChannelInput with the given poison immunity level, which uses the given filter to decode
  * messages
  *
  * @param immunityLevel
  *            The immunity level to poison for this channel
  * @param filter
  *            The filter used to decode incoming messages
  * @return A new NetSharedChannelInput
  */
 public NetSharedChannelInput net2any(int immunityLevel, NetworkMessageFilter.FilterRx filter)
 {
     return(Net2AnyChannel.create(immunityLevel, filter));
 }
Exemplo n.º 5
0
 /**
  * Creates a new NetSharedChannelInput which uses the given filter to decode incoming messages
  *
  * @param filter
  *            The filter used to decode incoming messages
  * @return A new NetSharedChannelInput
  */
 public NetSharedChannelInput net2any(NetworkMessageFilter.FilterRx filter)
 {
     return(Net2AnyChannel.create(Int32.MaxValue, filter));
 }
Exemplo n.º 6
0
 /**
  * Creates a new NetSharedChannelInput with the given poison immunity level
  *
  * @param immunityLevel
  *            The immunity level to poison for this channel
  * @return A new NetSharedChannelInput
  */
 public NetSharedChannelInput net2any(int immunityLevel)
 {
     return(Net2AnyChannel.create(immunityLevel, new ObjectNetworkMessageFilter.FilterRX()));
 }