// ********************************************************************** // // Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** #import #import #import #import #include @implementation ICESSLEndpointInfo (IceSSL) +(void) load { IceObjC::registerEndpointInfoClass([ICESSLEndpointInfo class]); } +(id) checkedEndpointInfoWithEndpointInfo:(Ice::EndpointInfo*)endpointInfo { IceSSL::EndpointInfo* sslEndpointInfo = dynamic_cast(endpointInfo); if(sslEndpointInfo) { return [[ICESSLEndpointInfo alloc] initWithEndpointInfo:sslEndpointInfo]; } return nil; } @end