1 %%% Copyright (c) 2007- Facebook
2 %%% Distributed under the Thrift Software License
4 %%% See accompanying file LICENSE or visit the Thrift site at:
5 %%% http://developers.facebook.com/thrift/
7 -module(tBufferedTransportFactory
).
10 -include("transport/tBufferedTransport.hrl").
11 -include("transport/tBufferedTransportFactory.hrl").
15 -export([attr
/4, super
/0, inspect
/1]).
17 -export([new
/0, getTransport
/2]).
21 %%% 'super' is required unless ?MODULE is a base class
27 %%% behavior callbacks
30 %%% super() -> SuperModule = atom()
36 %%% inspect(This) -> string()
46 Super
= (super()):new(),
47 #?MODULE
{super
=Super
}.
53 getTransport(_This
, Trans
) ->
54 oop:start_new(tBufferedTransport
, [Trans
]).