public IProtocolType1 createProtocolType1() { if (nowUserProtocol == null) { nowUserProtocol = new ProtocolType1(); } return(nowUserProtocol); }
private void initProtocolType() { IProtocolFactory factory = new ProtocolFactory(); iProtocol = factory.createProtocolType1(); }