Beispiel #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()));
 }
Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #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()));
 }