org.teleal.cling.transport.spi
Class UpnpStream

java.lang.Object
  extended by org.teleal.cling.transport.spi.UpnpStream
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
HttpExchangeUpnpStream, HttpServerConnectionUpnpStream

public abstract class UpnpStream
extends Object
implements Runnable


Field Summary
protected  ProtocolFactory protocolFactory
           
protected  ReceivingSync syncProtocol
           
 
Constructor Summary
protected UpnpStream(ProtocolFactory protocolFactory)
           
 
Method Summary
abstract  void execute()
           
 ProtocolFactory getProtocolFactory()
           
 StreamResponseMessage process(StreamRequestMessage requestMsg)
           
 void responseException(Throwable t)
           
 void responseSent(StreamResponseMessage responseMessage)
           
 void run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

protocolFactory

protected final ProtocolFactory protocolFactory

syncProtocol

protected ReceivingSync syncProtocol
Constructor Detail

UpnpStream

protected UpnpStream(ProtocolFactory protocolFactory)
Method Detail

getProtocolFactory

public ProtocolFactory getProtocolFactory()

run

public void run()
Specified by:
run in interface Runnable

process

public StreamResponseMessage process(StreamRequestMessage requestMsg)
                              throws UnsupportedDataException
Throws:
UnsupportedDataException

execute

public abstract void execute()

responseSent

public void responseSent(StreamResponseMessage responseMessage)

responseException

public void responseException(Throwable t)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.