Trait rift::transport::TTransportFactory [] [src]

pub trait TTransportFactory {
    fn create(&self, inner: Rc<RefCell<Box<TTransport>>>) -> Box<TTransport>;
}

Helper type required by a TSimpleServer to create TTransport instances with which to communicate with accepted client connections.

Required Methods

Construct a TTransport that wraps an inner transport, creating a transport stack.

Implementors