public static OamEthernetConnectionsWatcherProxy GetOamEthernetConnectionsWatcherProxy(this OnlineSession session)
        {
            OamEthernetConnectionsWatcher watcher = Reflector.GetInstanceFieldByName(session,
                                                                                     "m_Ethwatch",
                                                                                     ReflectionWays.SystemReflection)
                                                    as OamEthernetConnectionsWatcher;
            OamEthernetConnectionsWatcherProxy proxy = new OamEthernetConnectionsWatcherProxy(watcher);

            return(proxy);
        }
示例#2
0
 internal OamEthernetConnectionsWatcherProxy(OamEthernetConnectionsWatcher watcher)
 {
     OamEthernetConnectionsWatcher = watcher;
 }