Can i send via stream not konow type of object whitch implements same interface?
My concept is that interface *CommonInterface* are know on both application but object type are not. I'm interesting to use this object only via *CommonInterface*. So I want to use only method which is defined in this interface.

How implement that?
Can i send via stream not konow type of object whitch implements same interface?
===

My concept is that interface *CommonInterface* are know on both application but object type are not. I'm interesting to use this object only via *CommonInterface*. So I want to use only method which is defined in this interface.

How implement that?