com.jme3.network.streaming
クラス StreamingService
java.lang.Object
com.jme3.network.events.MessageAdapter
com.jme3.network.streaming.StreamingService
- すべての実装されたインタフェース:
- MessageListener, Service
public class StreamingService
- extends MessageAdapter
- implements Service
Streaming service handles all kinds of streaming to clients. It can be instantiated by
both the client and server, where server will work as sender, and client as receiver.
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingService
public StreamingService(Client client)
StreamingService
public StreamingService(Server server)
offerStream
public void offerStream(Client client,
StreamMessage msg,
java.io.InputStream data)
addStreamListener
public void addStreamListener(StreamListener listener)
removeStreamListener
public void removeStreamListener(StreamListener listener)