Class ChannelInfoMessage
java.lang.Object
com.jme3.network.AbstractMessage
com.jme3.network.message.ChannelInfoMessage
- All Implemented Interfaces:
Message
Contains information about any extra server channels (if they exist).
- Author:
- Paul Speed
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty channel info message for serialization.ChannelInfoMessage(long id, List<Integer> ports) Creates a message describing the server id and extra ports. -
Method Summary
Methods inherited from class AbstractMessage
isReliable, setReliable
-
Constructor Details
-
ChannelInfoMessage
public ChannelInfoMessage()Creates an empty channel info message for serialization. -
ChannelInfoMessage
-
-
Method Details
-
getId
public long getId()Returns the server identifier associated with this message.- Returns:
- the server identifier
-
getPorts
public int[] getPorts()Returns the extra ports advertised by the server.- Returns:
- the advertised ports
-
toString
-