FileDocCategorySizeDatePackage
MessageProcessor.javaAPI DocJMF 2.1.1e781Mon May 12 12:20:56 BST 2003com.sun.media.rtsp

MessageProcessor

public class MessageProcessor extends Object

Fields Summary
private int
connectionId
private RtspManager
rtspManager
private byte[]
buffer
Constructors Summary
public MessageProcessor(int connectionId, RtspManager rtspManager)

        this.connectionId = connectionId;
        this.rtspManager = rtspManager;

        buffer = new byte[0];
    
Methods Summary
public voidprocessMessage(byte[] data)

        Log.comment("incoming msg:");
        Log.comment(new String(data));

        Message message = new Message(data);

        rtspManager.dataIndication(connectionId, message);