// // Copyright (c) ZeroC, Inc. All rights reserved. // #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