public static org.omg.CORBA.TypeCode type() {
   if (_type == null) {
     _type =
         org.omg
             .CORBA
             .ORB
             .init()
             .create_struct_tc(
                 org.omg.IIOP.BiDirIIOPServiceContextHelper.id(),
                 "BiDirIIOPServiceContext",
                 new org.omg.CORBA.StructMember[] {
                   new org.omg.CORBA.StructMember(
                       "listen_points", org.omg.IIOP.ListenPointListHelper.type(), null)
                 });
   }
   return _type;
 }
 public static void write(
     final org.omg.CORBA.portable.OutputStream out, final org.omg.IIOP.BiDirIIOPServiceContext s) {
   org.omg.IIOP.ListenPointListHelper.write(out, s.listen_points);
 }
 public static org.omg.IIOP.BiDirIIOPServiceContext read(
     final org.omg.CORBA.portable.InputStream in) {
   org.omg.IIOP.BiDirIIOPServiceContext result = new org.omg.IIOP.BiDirIIOPServiceContext();
   result.listen_points = org.omg.IIOP.ListenPointListHelper.read(in);
   return result;
 }